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