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