export class RouterContext { /** * @param {{ router: Router }} params **/ constructor({ router }: { router: Router; }); /** @type {import('svelte/store').Writable} */ childContexts: import("svelte/store").Writable; /** @type {import('svelte/store').Writable} */ childFragments: import("svelte/store").Writable; /** @type {import('svelte/store').Writable} */ activeChildContext: import("svelte/store").Writable; /** @type {RenderContext} */ lastActiveChildContext: RenderContext; /** @type {Decorator[]} */ decorators: Decorator[]; /** @type {import('../decorators/AnchorDecorator').Location}*/ anchorLocation: import("../decorators/AnchorDecorator").Location; get descendants(): any; router: import("../index.js").RouterClass; route: import("../Route/Route.js").Route; /** * @param {Partial<{inline: InlineInput, decorator:DecoratorInput, props, options, anchor: AnchorLocation, scrollLock: scrollLock}>} options * * */ buildChildContexts(options: Partial<{ inline: InlineInput; decorator: DecoratorInput; props: any; options: any; anchor: AnchorLocation; scrollLock: scrollLock; }>, newDecorators: any): void; updateChildren(): void; } export class RenderContext extends RouterContext { /** * * @param {{ * node: RNodeRuntime * paramsPool: Object. * rawInlineInputFromSlot: InlineInput * parentContext: RenderContext | RouterContext * newDecorators: Decorator[] * contextOptions: RenderContextOptions * scrollLock: scrollLock * anchorLocation: AnchorLocation * router?: Router * props: Object * }} param0 */ constructor({ node, paramsPool, rawInlineInputFromSlot, parentContext, newDecorators, contextOptions, scrollLock, anchorLocation, router, props, }: { node: RNodeRuntime; paramsPool: { [x: string]: string[]; }; rawInlineInputFromSlot: InlineInput; parentContext: RenderContext | RouterContext; newDecorators: Decorator[]; contextOptions: RenderContextOptions; scrollLock: scrollLock; anchorLocation: AnchorLocation; router?: Router; props: any; }); /** @type {RNodeRuntime} */ node: RNodeRuntime; isActive: import("svelte/store").Writable; isVisible: import("svelte/store").Writable; wasVisible: boolean; isInline: boolean; /** @type {Inline} */ inline: Inline; /** @type {import('svelte/store').Writable<{ parent: HTMLElement, anchor: HTMLElement }>} */ elem: import("svelte/store").Writable<{ parent: HTMLElement; anchor: HTMLElement; }>; onDestroy: import("hookar").CollectionSyncVoid | import("hookar").CollectionAsyncVoid; mounted: DeferredPromise; /** @type {RouterContext} */ routerContext: RouterContext; props: any; fragment: RouteFragment; params: import("svelte/store").Writable<{}>; parentContext: RenderContext; options: Partial<{ inline: InlineInput; decorator: DecoratorInput; props: any; options: any; anchor: AnchorLocation; scrollLock: scrollLock; }>; scrollLock: scrollLock; _resetCounter: import("svelte/store").Writable; get parentOrRouterContext(): RouterContext; get ancestors(): RenderContext[]; /** * Returns all the props of the context, including the ones from the parent contexts. * @type {Object} */ get allProps(): any; reset(): void; setToActive(): void; update(activeSiblingContext: any): void; /** updates params with accumulated values, starting from the root context */ updateParams(): void; } import { RouteFragment } from '../Route/RouteFragment.js';