import type { ActionLedgerGetResponse, ActionLedgerListResponse } from "@voyant-travel/action-ledger"; import type { VoyantActionLedgerContextValue } from "../provider.js"; /** * REST transport for the packaged action-ledger admin surfaces. The module * exposes plain admin REST reads, so the pages send requests through the * shared provider context (`baseUrl` + `fetcher`) — no app RPC client. */ export type ActionLedgerAdminClient = VoyantActionLedgerContextValue; export declare function getActionLedgerEntries(client: ActionLedgerAdminClient, search: URLSearchParams): Promise; /** Page size shared by the Logs page and the contribution's loader. */ export declare const ACTION_LEDGER_PAGE_SIZE = 25; /** * Query options for the first (unfiltered, newest-first) Logs page — the * contribution's loader seeds this entry, and the page's initial state * (empty filters, `desc` sort, first cursor) derives the identical key, so * the SSR-seeded cache lines up with the page's first `useQuery`. */ export declare function actionLedgerFirstPageQueryOptions(client: ActionLedgerAdminClient): import("@tanstack/react-query").OmitKeyof, "queryFn"> & { queryFn?: import("@tanstack/react-query").QueryFunction | undefined; } & { queryKey: readonly ["actionLedger", "entries", { readonly filtersKey: string | undefined; }] & { [dataTagSymbol]: ActionLedgerListResponse; [dataTagErrorSymbol]: Error; }; }; export declare function getActionLedgerEntry(client: ActionLedgerAdminClient, id: string): Promise;