export declare namespace RuntimeError { type Code = 'duplicate-entry' | 'unsupported-expression'; } export declare class RuntimeError extends Error { code: T; name: string; constructor(code: T, message?: string); static check(error: any, code?: RuntimeError.Code): error is RuntimeError; }