export declare const useClosingApi: () => {
    readLastClosing(dbName: string, idOnly?: boolean): Promise<Partial<FdoClosing> | null>;
    readCurrentLocationLastClosing(idOnly?: boolean): Promise<Partial<FdoClosing> | null>;
    getClosingById(id: string): Promise<FdoClosing | null>;
    getLastNClosings(limit?: number): Promise<FdoClosing[]>;
    setOpeningBalance(payload: {
        effectiveAt: string;
        skuAdjustments: FdoSkuAdjustment[];
        skuBalances: FdoSkuBalance[];
    }): Promise<FdoClosing | null>;
    initiateClosing(): Promise<void>;
    initiateStockSnapshot(date: string): Promise<FdoStockSnapshot>;
    getLastNStockSnapshots(limit?: number): Promise<FdoStockSnapshot[]>;
};
