import type { RevisionIdMeta } from '@feedmepos/inventory-core';
import type { FdtoEditClosingDraftRequest } from '@feedmepos/zod-inventory';
/** Matches F_LambdaInitClosingDraftStockSnapshot_RedisValue from backend */
export type RefreshBalanceStatus = {
    requestId: string;
    closingDraftId: string;
    closingDraftRevision: string;
    message?: string | null;
    startedAt: string;
    completedAt?: string | null;
} | null;
export declare const useClosingDraftApi: () => {
    getDbName: () => string;
    getDraft(id: string): Promise<FdoClosingDraft & RevisionIdMeta>;
    readDrafts(): Promise<(FdoClosingDraft & RevisionIdMeta)[]>;
    runOperation(operation: FdtoClosingDraftOperation): Promise<void>;
    runOperationV1(operation: FdtoClosingDraftOperation): Promise<void>;
    sync(operation: FdtoClosingDraftOperation): Promise<void>;
    cloneDraft(id: string): Promise<FdoClosingDraft & RevisionIdMeta>;
    createQuickModeDraftWithItems(body: FdtoEditClosingDraftRequest): Promise<FdoClosingDraft & RevisionIdMeta>;
    initializeStockSnapshot(closingDraftId: string, effectiveAt: string): Promise<boolean>;
    getRefreshBalanceStatus(closingDraftId: string, closingDraftRevision: string): Promise<RefreshBalanceStatus>;
};
