import { type Transaction, type TransactionFilter, type TransactionsRecord } from "@olenbetong/appframe-updater"; import type { Server } from "../lib/Server.js"; export type TransactionsEditorRefreshOptions = { preserveViewport?: boolean; anchorPrimKey?: string | null; }; type UseTransactionsOptions = { server: Server; namespace: string | number; filter?: TransactionFilter; }; export declare function useTransactions({ filter, server, namespace }: UseTransactionsOptions): { transactions: TransactionsRecord[]; loading: boolean; error: Error | undefined; refresh: (_options?: TransactionsEditorRefreshOptions) => Promise; normalizedTransactions: Transaction[]; transactionMap: Map; }; export {};