import { type Ref } from "vue"; import type { DataGridCoreTransactionService } from "@affino/datagrid-core"; import { type DataGridIntentTransactionDescriptor, type UseDataGridIntentHistoryOptions } from "@affino/datagrid-orchestration"; import type { DataGridTransactionSnapshot } from "@affino/datagrid-core/advanced"; export type { DataGridIntentTransactionDescriptor, UseDataGridIntentHistoryOptions, }; export interface UseDataGridIntentHistoryResult { transactionService: DataGridCoreTransactionService; transactionSnapshot: Ref; canUndo: Ref; canRedo: Ref; recordIntentTransaction: (descriptor: DataGridIntentTransactionDescriptor, beforeSnapshot: TSnapshot, afterSnapshotOverride?: TSnapshot) => Promise; runHistoryAction: (direction: "undo" | "redo") => Promise; dispose: () => void; } export declare function useDataGridIntentHistory(options: UseDataGridIntentHistoryOptions): UseDataGridIntentHistoryResult; //# sourceMappingURL=useDataGridIntentHistory.d.ts.map