export declare function replaceFirst(text?: string | null, search?: string | RegExp | null, replace?: string | null): string | null | undefined;
