export interface Options { matchPath?: RegExp | string; requireAbsolute?: boolean; requireSSL?: boolean; whitelist?: string[]; subdomains?: string[]; } export declare function isSafe(redirectUrl: string, { whitelist, subdomains, matchPath, requireAbsolute, requireSSL }?: Options): boolean; export declare function makeSafe(url: string, fallback: string, options?: Options): string;