export declare const InsiderAppFramesErrorCode: { readonly UNKNOWN: 'UNKNOWN'; readonly RESOLUTION_FAILED: 'RESOLUTION_FAILED'; readonly RESPONSE_MALFORMED: 'RESPONSE_MALFORMED'; readonly DOWNLOADING_FAILED: 'DOWNLOADING_FAILED'; readonly PLACEMENT_UNTRUSTED: 'PLACEMENT_UNTRUSTED'; readonly CONTENT_DISPLAY_FAILED: 'CONTENT_DISPLAY_FAILED'; readonly RENDERING_FAILED: 'RENDERING_FAILED'; }; export type InsiderAppFramesErrorCodeType = (typeof InsiderAppFramesErrorCode)[keyof typeof InsiderAppFramesErrorCode]; /** The `dismissCode` value when the content supplied none. */ export declare const NO_DISMISS_CODE: -1; export declare class InsiderAppFramesError extends Error { readonly code: InsiderAppFramesErrorCodeType; /** The code the content dismissed with, or `NO_DISMISS_CODE`. */ readonly dismissCode: number; /** The underlying platform error's message, or `null`. `message` always describes `code`. */ readonly cause: string | null; constructor(code: string, message: string, dismissCode?: number, cause?: string | null); static from(error: unknown): InsiderAppFramesError; }