import type { navigation } from './navigation'; export declare type PageData = { page: number; nav: ReturnType; }; declare type PageProp = string | Element | ((data: PageData, $holder: HTMLDivElement) => string | Element | void) | undefined; export declare type PageObject = { template?: 'title' | 'full'; content?: PageProp; footer?: PageProp; background?: PageProp; [key: string]: PageProp; }; declare type PageElement = HTMLElement & { $title: HTMLElement; $content: HTMLElement; $footer: HTMLElement; render: () => void; }; export declare const defaultFooter: ({ page, nav }: PageData) => HTMLFormElement; export declare type PageState = PageObject | ((data?: D) => PageObject); export declare function Presentation({ lazy, Template, }?: { lazy?: number; Template?: (props: PageObject, data?: any) => PageElement; }): HTMLElement & { load(newState: PageState, data?: T | undefined): void; preload(newState: PageState, data?: T_1 | undefined): void; }; export declare function resolve(res: any, ...rest: [T, ...any]): null | string | Node; export {}; //# sourceMappingURL=presentation.d.ts.map