import type { AfterEachHook, RouteLocation } from './types'; export type AnnounceOption = boolean | ((to: RouteLocation) => string | null | undefined); export type RouteAnnouncerOptions = { announce?: AnnounceOption; /** CSS selector of the element to focus after each client-side navigation. */ focusOnNavigate?: string; }; /** * Install on a router's `afterEach`. Returns the teardown. The live region is * the document's shared one (src/a11y.ts), not the router's, so it outlives the * router. A no-op outside a browser. */ export declare function installRouteAnnouncer(afterEach: (hook: AfterEachHook) => () => void, options: RouteAnnouncerOptions): () => void; //# sourceMappingURL=announce.d.ts.map