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