You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
505 B
5 lines
505 B
import type { ManifestHeaderRoute, ManifestRedirectRoute, ManifestRewriteRoute } from '../build';
|
|
import { type Header, type Redirect, type Rewrite } from './load-custom-routes';
|
|
export declare function buildCustomRoute(type: 'header', route: Header): ManifestHeaderRoute;
|
|
export declare function buildCustomRoute(type: 'rewrite', route: Rewrite): ManifestRewriteRoute;
|
|
export declare function buildCustomRoute(type: 'redirect', route: Redirect, restrictedRedirectPaths: string[]): ManifestRedirectRoute;
|
|
|