import * as z from "zod";
export type RetryableErrorData = {
    error: string;
};
export declare class RetryableError extends Error {
    error: string;
    /** The original data that was passed to this error instance. */
    data$: RetryableErrorData;
    constructor(err: RetryableErrorData);
}
/** @internal */
export declare const RetryableError$inboundSchema: z.ZodType<RetryableError, z.ZodTypeDef, unknown>;
/** @internal */
export type RetryableError$Outbound = {
    error: string;
};
/** @internal */
export declare const RetryableError$outboundSchema: z.ZodType<RetryableError$Outbound, z.ZodTypeDef, RetryableError>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RetryableError$ {
    /** @deprecated use `RetryableError$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RetryableError, z.ZodTypeDef, unknown>;
    /** @deprecated use `RetryableError$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RetryableError$Outbound, z.ZodTypeDef, RetryableError>;
    /** @deprecated use `RetryableError$Outbound` instead. */
    type Outbound = RetryableError$Outbound;
}
//# sourceMappingURL=retryableerror.d.ts.map