import { z } from 'zod';
export declare const PrintfulErrorCode: z.ZodEnum<["SCHEMA_ERROR", "REQUEST_ERROR", "API_ERROR", "NOT_FOUND", "UNAUTHORIZED", "FORBIDDEN", "SERVICE_UNAVAILABLE", "BAD_REQUEST", "TOO_MANY_REQUESTS", "PAYMENT_REQUIRED", "PRECONDITION_FAILED", "INTERNAL_SERVER_ERROR"]>;
export type PrintfulErrorCode = z.infer<typeof PrintfulErrorCode>;
export declare class PrintfulError extends Error {
    name: string;
    message: string;
    code: string;
    constructor(message: string, code?: PrintfulErrorCode);
}
