import { type PushFunction } from './single-page.js'; export interface Listener { (href: string, data: { scrollX: number; scrollY: number; popstate: boolean; }): void; } /** * Routes * @param {} opts * @returns A function that takes a callback for route change events, and has * a property to set the route. */ export declare function Route(opts?: { el?: HTMLElement; handleAnchor?: boolean | ((href: string) => boolean); handleLink?: (href: string) => boolean; init?: boolean; }): { (cb: Listener): () => void; setRoute: PushFunction; }; export default Route; //# sourceMappingURL=index.d.ts.map