import type { JSONValue } from '../types.js'; import type { Class } from '@matrixai/errors'; import ErrorPolykey from '../ErrorPolykey.js'; declare class ErrorNetwork extends ErrorPolykey { } /** * Used for certificate verification */ declare class ErrorCertChain extends ErrorNetwork { } declare class ErrorCertChainEmpty extends ErrorCertChain { static description: string; exitCode: 76; } declare class ErrorCertChainUnclaimed extends ErrorCertChain { static description: string; exitCode: 76; } declare class ErrorCertChainBroken extends ErrorCertChain { static description: string; exitCode: 76; } declare class ErrorCertChainDateInvalid extends ErrorCertChain { static description: string; exitCode: 76; } declare class ErrorCertChainNameInvalid extends ErrorCertChain { static description: string; exitCode: 76; } declare class ErrorCertChainKeyInvalid extends ErrorCertChain { static description: string; exitCode: 76; } declare class ErrorCertChainSignatureInvalid extends ErrorCertChain { static description: string; exitCode: 76; } declare class ErrorDNSResolver extends ErrorNetwork { static description: string; exitCode: 70; } declare class ErrorPolykeyRemote extends ErrorPolykey { static description: string; exitCode: number; metadata: JSONValue | undefined; constructor(metadata?: JSONValue, message?: string, options?: any); static fromJSON>(this: T, json: any): InstanceType; toJSON(): any; } export { ErrorNetwork, ErrorCertChain, ErrorCertChainEmpty, ErrorCertChainUnclaimed, ErrorCertChainBroken, ErrorCertChainDateInvalid, ErrorCertChainNameInvalid, ErrorCertChainKeyInvalid, ErrorCertChainSignatureInvalid, ErrorDNSResolver, ErrorPolykeyRemote, };