type MaybePromise = T | Promise; export declare const DEFAULT_ERROR_REPORTING_TIMEOUT_MS = 1000; export declare class ErrorReportingTimeoutError extends Error { readonly code: "ERROR_REPORTING_TIMEOUT"; readonly timeoutMs: number; constructor(timeoutMs: number); } export declare function errorReportingObserverTimeout(timeoutMs: number | false): number | false; export declare function runErrorReportingOperation(operation: () => MaybePromise, timeoutMs?: number | false): Promise; export {}; //# sourceMappingURL=internal.d.ts.map