import type { RouteChainEntry } from './cache.js'; export interface ActionContext { readonly activeChain: RouteChainEntry[]; readonly currentRequestPath: string; setActionController(controller: AbortController | null): void; invalidateTags(tags: string[]): void; } export declare function findActionRouteEntry(activeChain: readonly RouteChainEntry[], routeEl: HTMLElement): RouteChainEntry | undefined; export declare function setupFormInterception(ctx: ActionContext): () => void;