export declare const ErrorProto: SerializedError; export type SerializedError = Record & { aggregateErrors?: SerializedError[]; cause?: unknown; code?: string; message: string; name: string; raw?: ErrorType; stack?: string; };