import { MetaConfig } from "./decorators/classes/meta-config"; import { IScope } from "./interfaces/scope.interface"; export declare class Page implements IScope { template: string; title?: string; meta?: MetaConfig; pageParent: any; isInitialized: boolean; isDestroyed: boolean; onNeedRerender: (page: Page) => Promise; /** * When page element is rendered */ onInit(): void; /** * When page element is destroyed */ onDestroy(): void; /** * When route match with this page and prepares to be rendered */ onEnter(): void; /** * When the route changes and the page no longer matches and will be removed */ onExit(): void; /** * Method to render and update current template */ render(action?: () => void): Promise; compile(expression: string): any; }