import { UserInterface, Components, State, Controller } from "thoriumjs"; import RouteRecognizer from 'route-recognizer'; declare const ElementUI: typeof UserInterface.ElementUI; export declare const URILocation: { "__#12@#_routers": Map, (value: RouterViewController) => RouterViewController]>; readonly routers: Map, (value: RouterViewController) => RouterViewController]>; "__#12@#_URIRouter": Map; readonly uriRouters: Map; setRouterState: (options: RouterViewOptionsInit) => [State, (router: RouterViewController) => void]; getRouterState: (routerId: string) => [State, (value: RouterViewController) => RouterViewController]; deleteRouterState: (mutations: MutationRecord[]) => void; getCorrespondance(routerId: any): [string, () => void]; hash: string; readonly host: string; readonly hostname: string; readonly href: string; readonly origin: string; readonly pathname: string; readonly port: string; readonly protocol: string; onPathChange: (e?: Event) => void; }; export declare class RouterButtonLink extends Components.Button { constructor(options: RouterLinkOptionsInit); } export interface RouterLinkOptionsInit { link: string; text?: string; id?: string; } export declare class RouterLink extends Components.Link { constructor(options: RouterLinkOptionsInit); } export interface RouterViewController extends Controller { } export interface RouterViewOptionsInit { id?: string; paths?: Record<'/' | string, typeof ElementUI>>; defaultPath?: string; onPathError?: typeof ElementUI>; onPathChange?: (e: MutationRecord) => void; } export declare class RouterView extends UserInterface.ElementUI { constructor(options: RouterViewOptionsInit); } export declare function Router(): router; export declare class router { id: any; get RouterView(): { new (options: RouterViewOptionsInit): { "__#1@#private": any; readonly template: UserInterface.TemplateInterface; readonly type: string; readonly prop: Record; readonly childrens: UserInterface.NodeInterface | object[]; readonly proto: RouterViewController; Main(template: UserInterface.TemplateInterface): void; CreateElement(parent?: any): any; }; }; get Link(): { new (options: RouterLinkOptionsInit): { "__#1@#private": any; readonly template: UserInterface.TemplateInterface; readonly type: string; readonly prop: Record; readonly childrens: UserInterface.NodeInterface | object[]; readonly proto: Controller; Main(template: UserInterface.TemplateInterface): void; CreateElement(parent?: any): any; }; }; get Button(): { new (options: RouterLinkOptionsInit): { "__#1@#private": any; readonly template: UserInterface.TemplateInterface; readonly type: string; readonly prop: Record; readonly childrens: UserInterface.NodeInterface | object[]; readonly proto: Controller; Main(template: UserInterface.TemplateInterface): void; CreateElement(parent?: any): any; }; }; } export {};