declare class FabricError extends Error { code: string; message: string; data: any; protected constructor(code: string, message: string, data: any); toJSON: () => { name: any; code: any; data: any; message: any; description: any; number: any; fileName: any; lineNumber: any; columnNumber: any; stack: any; }; } export declare const errors: { fabricErrors: { FABRIC_API_CODE_NO_ZERO_ERROR: { code: string; message: string; }; FABRIC_JS_CATCH_ERROR: { code: string; message: string; }; FABRIC_NATIVE_METHOD_NOT_FOUND_ERROR: { code: string; message: string; }; FABRIC_NATIVE_INPUT_PARSE_ERROR: { code: string; message: string; }; FABRIC_NATIVE_RESULT_PARSE_ERROR: { code: string; message: string; }; FABRIC_NATIVE_PERMISSION_REJECT_ERROR: { code: string; message: string; }; FABRIC_NATIVE_VIEW_WINDOW_CANCELLED_ERROR: { code: string; message: string; }; }; isFabricError: (err?: Error | FabricError | null) => err is FabricError; filterFabricErrors: (code: string, message?: string, data?: any) => FabricError | null; }; export {};