export interface Replacer { regexp: RegExp; replace: (key: string, ...match: string[]) => T; } export declare function replaceAny(replacers: Array>, str: string): (string | T)[];