export function regex_split(str: string, separator: RegExp, limit?: number | undefined): any[];