import { type PropertyValues } from '@a11d/lit'; import { RoutableComponent, HookSet, type RoutableParameters } from '../index.js'; import { type Page } from './index.js'; /** The parameters of a page, mapped to the path and query string of its URL. */ export type PageParameters = RoutableParameters; /** * The base class of a page, rendered by the application when its route matches. * * Its template renders a page element, such as `lit-page`, whose heading defaults to the component's `label` metadata. * Navigate to a page with `new PageUser({ id: 1 }).navigate()`, or link to it with `routerLink`. */ export declare abstract class PageComponent extends RoutableComponent { /** Hooks awaited with each page before it connects, such as to check permissions. */ static readonly connectingHooks: HookSet>; /** The tag of the page element that built-in pages such as `PageError` render, `lit-page` by default. */ static defaultPageElementTag: import("lit-html/static.js").StaticValue; /** Marks the decorated element class as a page element, which `pageElement` finds in a page component's render root. */ static pageElement(): (constructor: Constructor) => void; navigate(...args: Parameters): Promise; /** The page element in the render root; accessing it throws when there is none. */ readonly pageElement: Page & HTMLElement; connectedCallback(): Promise; protected firstUpdated(props: PropertyValues): void; } //# sourceMappingURL=PageComponent.d.ts.map