/** This is metadata specified in the frontmatter of markdown pages */ export declare type PageMeta = { /** Title of the page, defaults to titlecased version of doc.id (filename) */ title: string; }; export interface BasePage { id: string; pagePath: string; children?: Array; } export interface DocsPage extends BasePage { meta: PageMeta; } export interface ExamplePage extends BasePage { isolatedPath: string; } export interface NestedExamplePage extends ExamplePage { children: ExamplePage[]; } export declare type Page = DocsPage | ExamplePage | NestedExamplePage; declare type Maintainers = string | string[]; declare type Repository = string | { type: string; url: string; directory?: string; }; declare type PackageMeta = { id: string; description: string; version: string; maintainers?: Maintainers; repository?: Repository; }; export declare type PackageMetadata = { metaData: PackageMeta[]; }; export declare type PackageInfo = { id: string; description: string; version: string; maintainers?: Maintainers; packageId: string; homePath: string; homeMeta: PageMeta | undefined; changelogPath: string; docs: DocsPage[]; examples: ExamplePage[]; subExamples: NestedExamplePage[]; repository: Repository; parentId?: string; packageTitle?: string; }; export declare type pageType = 'package:changelog' | 'package:doc' | 'package:exampe' | 'package:home' | 'doc:doc'; export declare type TemplateSpecifier = { page: pageType; position: 'above' | 'below' | 'replace'; component: string; }; export {};