import type { TOperation } from '../../../../../../types/api/operations'; interface UseTableCompactionResult { operations: TOperation[] | undefined; runningCompaction: TOperation | undefined; isFetching: boolean; refresh: () => void; } /** * Hook for managing table compaction operations. * Automatically fetches all pages of compaction operations and tracks running compaction. * @param database - Database path * @param path - Table path * @param enabled - Whether compaction feature is enabled * @returns Compaction operations data and loading state */ export declare function useTableCompaction(database: string, path: string, enabled: boolean): UseTableCompactionResult; export {};