forked from roxiness/routify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
30 lines (26 loc) · 1.16 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/// <reference path="./typedef.js" />
declare module '@roxi/routify' {
export * from '@roxi/routify/typings/runtime/helpers'
export * from '@roxi/routify/typings/runtime/store'
export const Router: typeof import('./runtime/Router.svelte').default
export const routify: typeof import('@roxi/routify/plugins/rollup')
global {
export const $page: ClientNodeApi
export const $layout: ClientNodeApi
export const $params: import('./typings/runtime/helpers').ParamsHelper
export const $leftover: import('./typings/runtime/helpers').LeftoverHelper
export const $url: import('./typings/runtime/helpers').UrlHelper
export const $isActive: import('./typings/runtime/helpers').IsActiveHelper
export const $goto: import('./typings/runtime/helpers').GotoHelper
export const $beforeUrlChange: import('./typings/runtime/helpers').BeforeUrlChangeHelper
export const $ready: import('./typings/runtime/helpers').ReadyHelper
}
}
declare module '@roxi/routify/tmp/routes' {
export const tree: ClientNode
export const routes: ClientNode[]
}
declare module '@roxi/routify/hmr' {
let hmr: typeof import('./typings/hmr').default
export default hmr
}