import { type AdminExtension, type NavItem, type SelectedAdminExtensionFactoryContext } from "@voyant-travel/admin"; /** * No destinations declared: nothing navigates TO the Logs page by semantic * key (the nav entry below carries the URL), and the page's own outbound * link (`booking.detail`) comes from the bookings-react augmentation bound * in the host module. */ export type { ActionLedgerAdminClient } from "./admin-api.js"; export { actionLedgerQueryKeys } from "./query-keys.js"; export interface CreateActionLedgerAdminExtensionOptions { /** Mount path of the Logs page inside the admin workspace. Default `/action-ledger`. */ path?: string; /** Localized nav/page labels. Defaults are the English operator nav labels. */ labels?: { actionLedger?: string; }; /** Nav icon — icon choice stays with the host (e.g. lucide `ScrollText`). */ icon?: NavItem["icon"]; /** Nav ordering past the host's base items. Default 60. */ order?: number; } /** * The action-ledger admin contribution (packaged-admin RFC Phase 3, * `@voyant-travel/-react/admin` convention). * * NAVIGATION: package-delivered. The Logs item is NOT part of the BASE * operator navigation (`createOperatorAdminNavigation` in * `@voyant-travel/admin`), so the extension contributes it — order 60 nudges it * past the default admin items so it lands with the operator's audit * tooling. The icon stays a host choice. * * ROUTES: the contribution carries the FULL route implementation * (packaged-admin RFC §4.2/§4.8) — a lazy `page` module loader resolving * the packaged `ActionLedgerHost`, plus a loader that seeds the first * (unfiltered, newest-first) Logs page through the host-supplied runtime. * Filters and cursor paging stay component-local, so there is no URL * search contract. * * WIDGETS: none contributed and no slots exposed yet. */ export declare function createActionLedgerAdminExtension(options?: CreateActionLedgerAdminExtensionOptions): AdminExtension; /** Selected-graph adapter owning the standard Operator copy key and icon. */ export declare function createSelectedActionLedgerAdminExtension({ navMessages }?: SelectedAdminExtensionFactoryContext): AdminExtension;