export declare function enableRecordFunc(): void; /** * @description 错误事件触发后的操作 */ export declare function handleError(event: ErrorEvent | Event | PromiseRejectionEvent): void; /** * @description 设置错误信息 */ export declare function setCaughtError(event: ErrorEvent): void; /** * @description 设置异步错误信息 */ export declare function setPromiseError(event: PromiseRejectionEvent): void; /** * @description 设置资源错误信息 */ export declare function setResourceError(event: Event): void; /** * 忽略的error * @param errorMsg 错误信息 */ export declare function ignoreError(errorMsg: string): boolean; export declare function getUserEvents(notUseCache: boolean): string | undefined; export declare function getFullScreenShoot(filename: string | undefined): Promise;