export declare enum WebToPayErrorCode { E_MISSING = 1, E_MAXLEN = 2, E_REGEXP = 3, E_INVALID = 4 } export declare class WebToPayError extends Error { code?: WebToPayErrorCode | undefined; constructor(message: string, code?: WebToPayErrorCode | undefined); } export declare class WebToPayValidationError extends WebToPayError { field?: string | undefined; constructor(message: string, code: WebToPayErrorCode, field?: string | undefined); } export declare class WebToPayCallbackError extends WebToPayError { constructor(message: string, code?: WebToPayErrorCode); } export declare class WebToPayConfigError extends WebToPayError { constructor(message: string); } //# sourceMappingURL=errors.d.ts.map