export declare function switchRegex(text: string, cases: [RegExp | null, (matches: RegExpMatchArray) => string | void][], isAll?: boolean): string;