export interface UnitCostHistoryRecalculateParams {
    businessId: string;
    locationId?: string;
    startDate?: string;
    endDate?: string;
    skuId?: string;
}
export interface CostRecalculationRequestResponse {
    _id: string;
    location: string;
    recalculateStartDate: string;
    recalculateEndDate: string;
    createdBy: {
        _id: string;
        name: string;
    };
    createdAt: string;
    completedAt?: string;
    failedReason?: string;
}
export declare const useUnitCostHistoryApi: () => {
    getLatestCostForAllSkus(locationId: string): Promise<FdoUnitCostHistory[]>;
    recalculate(params: UnitCostHistoryRecalculateParams): Promise<{
        jobId: string;
    }>;
    getJobStatus(jobId: string): Promise<CostRecalculationRequestResponse>;
    listRecentRecalculationRequests(): Promise<CostRecalculationRequestResponse[]>;
};
