export declare function ansiRegex({ onlyFirst }?: { onlyFirst?: boolean | undefined; }): RegExp; export declare function stripAnsi(str: string): string;