import * as yup from 'yup'; import { StratumServerClient } from './stratumServerClient'; export declare class MessageMalformedError extends Error { name: string; constructor(sender: string, error: yup.ValidationError | string, method?: string); } export declare class ClientMessageMalformedError extends MessageMalformedError { client: StratumServerClient; constructor(client: StratumServerClient, error: yup.ValidationError | string, method?: string); } export declare class ServerMessageMalformedError extends MessageMalformedError { constructor(error: yup.ValidationError | string, method?: string); } //# sourceMappingURL=errors.d.ts.map