import type { Body } from './types';
export declare class Paccurate {
    private apiKey;
    private apiUrl;
    /**
     * @param apiKey - Paccurate API key.
     * @param apiUrl - Paccurate API endpoint.
     */
    constructor(apiKey: string, apiUrl?: string);
    /**
     * Finds the optimal way to pack a shipment.
     *
     * @param body - Packing configuration.
     * @param url - Paccurate API endpoint.
     * @returns - Pack response.
     */
    pack(body: Body, url?: string): Promise<{
        boxes?: {
            box?: import("./swagger").definitions["Box"];
        }[];
        title?: string;
        built?: string;
        startedAt?: string;
        version?: string;
        lenBoxes?: number;
        lenItems?: number;
        lenUnits?: number;
        lenLeftovers?: number;
        totalCost?: number;
        totalVolume?: number;
        totalVolumeNet?: number;
        totalVolumeUsed?: number;
        totalVolumeUtilization?: number;
        totalWeight?: number;
        packTime?: number;
        renderTime?: number;
        totalTime?: number;
        leftovers?: import("./swagger").definitions["Item"][];
        itemSortUsed?: string;
        itemSortReverseUsed?: boolean;
        boxTypeChoiceGoalUsed?: string;
        scripts?: string;
        styles?: string;
        svgs?: string[];
        orderId?: string;
        requestId?: string;
        images?: import("./swagger").definitions["Image"][];
        usedKeyStem?: string;
        warnings?: string[];
        requestFingerprint?: string;
        responseFingerprint?: string;
        packUuid?: string;
    }>;
}
//# sourceMappingURL=Paccurate.d.ts.map