import * as solid_js from 'solid-js'; import { Accessor } from 'solid-js'; import { AnchorProps as AnchorProps$1, NavigateProps as NavigateProps$1, NavigateOptions as NavigateOptions$1, MatchFilters } from '@solidjs/router'; type ComponentProps> = Path extends keyof Params ? { href: Path; params: Params[Path]; } : { href: Path; params?: never; }; type AnchorProps> = Omit & ComponentProps; type NavigateProps> = Omit & ComponentProps; type NavigateOptions> = Path extends keyof Params ? [Partial & { params: Params[Path]; }] : [Partial & { params?: never; }] | []; declare const components: >() => { A:

(props: AnchorProps) => solid_js.JSX.Element; Navigate:

(props: NavigateProps) => solid_js.JSX.Element; }; declare const hooks: , ModalPath extends string>() => { useParams:

(path: P) => Params[P]; useNavigate: () =>

(href: P, ...[options]: NavigateOptions) => void; useMatch:

(path: () => P, matchFilters?: MatchFilters

) => Accessor<{ path: P; params: Params[P]; } | undefined>; useModals: () => { current: any; open:

(path: ModalPath, options?: Partial> & (P extends keyof Params ? { at?: P | undefined; params: Params[P]; } : { at?: P | undefined; params?: never; })) => void; close:

(options?: Partial> & (P extends keyof Params ? { at?: P | undefined; params: Params[P]; } : { at?: P | undefined; params?: never; })) => void; }; }; declare const generatePath: (path: string, params: Record) => string; export { type AnchorProps, type NavigateOptions, type NavigateProps, components, generatePath, hooks };