export declare function substringBeforeLastAny(text?: string | null, separators?: Array): string | null | undefined;