import type { WithRev } from '@/api/type';
export declare const useStockApi: () => {
    readStockBalance(): Promise<WithRev<FdoStockBalance>>;
    readSkuBalance(): Promise<FdoProductBalance[]>;
    readSingleAdjustment(id: string): Promise<WithRev<FdoInventoryAdjustment> | null>;
    readStockAdjustment(id: string, start: string, end: string): Promise<WithRev<FdoInventoryAdjustment>[]>;
    readAdjustmentById(id: string): Promise<WithRev<FdoInventoryAdjustment>>;
    convertSku(dto: FdtoConvertSku): Promise<any>;
    adjustSku(dto: FdtoAdjustSkuBalance): Promise<any>;
    revertWastageAdjustment(payload: FdtoRevertWastageAdjustment): Promise<any>;
    recalculation: {
        getRecalculateAbility(): Promise<{
            reason?: string | null | undefined;
            lastClosing?: string | null | undefined;
            canRecalculate: boolean;
        }>;
        startRecalculateTask(): Promise<any>;
        refreshCurrentBalances(): Promise<any>;
        scheduleInvalidateClosingDraftCache(closingDraftIds: string[]): Promise<boolean>;
        recalculationRequests(): Promise<FdoInventoryRecalculationRequest[]>;
        scheduleRecalculation(args: {
            openingId: string;
            untilDate: string;
            recalculateBySnapshot?: boolean;
        }): Promise<any>;
        getAffectedClosingDrafts(openingId: string, untilDate: string): Promise<FdoClosingDraft[]>;
    };
    readUnitCostHistory(skuId: string, startDate: string, endDate: string): Promise<FdoUnitCostHistory[]>;
};
