import { Filter, Handler, Json } from './types'; import { Ref } from 'vue'; export declare class ApplicationError { readonly type: string; message: string; readonly cause: ErrorEvent | PromiseRejectionEvent | unknown | null; readonly stack: string; readonly date: Date; code?: string | number; response?: Json; context?: Json; _suppressed?: boolean; _url?: string; constructor(props?: Partial); private _toType; private _toMessage; private _toCause; private _toDate; private _toStack; private _setOptional; get suppressed(): boolean; set suppressed(value: boolean); toCopy(kb?: number): Partial; } export declare function on(handler: Handler): void; export declare function emit(props: Partial): void; export declare function suppress(filter: Filter): void; export declare function initWindowErrorHandling(): void; export declare function initVueErrorHandling(): void; export declare function getError(index?: number): ApplicationError | undefined; export declare const errorsParam = "errors"; export declare function createErrorURL(error: ApplicationError | ApplicationError[], param?: string, kbLimit?: number): string; export declare const errorsFromURL: ApplicationError[]; export declare const liveErrors: Ref; export declare function isReload(error: ApplicationError): boolean; export declare const fake: { message: string; emit: (message?: string, type?: string) => void; large: (sizeKB?: number) => void; uncaught: (message?: string) => void; unhandled: (message?: string) => void; toURL: (message?: string, param?: string) => void; fromURL: (param?: string) => void; };