type IExceptionCode = 'invalid_operation' | 'internal_error'; export declare class Exception extends Error { code: IExceptionCode; constructor(code: IExceptionCode, message?: string); } export {};