type TLoaderRuleFunc = (url: string) => boolean; type TLoaderRuleFuncResult = (url: string) => string; /** * Global rulles for URLLoader and Loader instances, applyed before local rulles */ export declare const globalRedirectRules: IRedirectRule[]; export interface IRedirectRule { test: string | RegExp | TLoaderRuleFunc | undefined; resolve?: string | RegExp | TLoaderRuleFuncResult | undefined; supressErrors?: boolean; supressLoad?: boolean; } export declare function matchRedirect(url: string, rules?: Array): { url: string; supressErrors: boolean; supressLoad: boolean; } | undefined; export {}; //# sourceMappingURL=redirectResolver.d.ts.map