import { RouteChangeData } from './interfaces'; /** * @param {string} type * @param {string} id * scroll to position on next page */ export declare function scrollTo(type: string, id?: string): void; /** * @param {string} url? * standard formatting for urls * url == https://example.com/foo/bar */ export declare function fullURL(url?: string): string; /** * @param {string} url * Writes URL to browser history */ export declare function addToPushState(url: string): void; export declare function scrollToAnchor(anchor: any): void; /** * @param {PopStateEvent} e * @returns RouteChangeData * Handles back button/forward */ export declare function handlePopState(_: PopStateEvent): RouteChangeData; /** * @param {MouseEvent} e * @returns RouteChangeData * Organizes link clicks into types */ export declare function handleLinkClick(e: MouseEvent): RouteChangeData;