import type { DocumentationModel, ExportKind } from './types.js'; interface ExampleInput { title: string | null; language: string | null; code: string; } interface ExportMemberInput { name: string; kind: 'property' | 'method'; type: string; required: boolean; description: string | null; defaultValue?: string; inheritedFrom?: string; children?: ExportMemberInput[]; } interface ConfigMemberInput { name: string; type: string; required: boolean; description: string | null; defaultValue?: string; inheritedFrom?: string; children?: ConfigMemberInput[]; } interface BuildModelInput { packageName: string; packageId: string; description: string | null; badges: { id: string; label: string; value: string; color: string; }[]; exports: { name: string; description: string | null; isReadme: boolean; examples: ExampleInput[]; kind: ExportKind; modulePath: string; sourceLocation: { filePath: string; line: number; column: number; }; exportPaths: string[]; relatedSymbols: string[]; signatures: { label: string; parameters: { name: string; type: string; required: boolean; description: string | null; }[]; returnType: string | null; returnDescription: string | null; }[]; members: ExportMemberInput[]; structuredRows: { values: Record; }[]; }[]; components: { name: string; description: string | null; isReadme: boolean; examples: ExampleInput[]; modulePath: string; sourceLocation: { filePath: string; line: number; column: number; }; exportPaths: string[]; props: { name: string; type: string; required: boolean; defaultValue?: string; description: string | null; }[]; }[]; sourceFunctions: { name: string; description: string | null; sourceLocation: { filePath: string; line: number; column: number; }; }[]; sequenceScenarios: { kind: 'bin' | 'export'; name: string; sourcePath: string; symbolName: string; description: string | null; isReadme: boolean; }[]; usage: { packageName: string; commands: { name: string; command: string; }[]; } | null; readmeUsageDescription: string | null; readmeUsage: { title: string | null; description: string | null; language: string; code: string; sourcePath: string; }[]; readmeCli: { description: string | null; sourcePath: string; } | null; readmeConfig: { description: string | null; language: string; code: string; sourcePath: string; } | null; config: { exportName: string; isReadme: boolean; members: ConfigMemberInput[]; } | null; entrypoints: string[]; modules: { path: string; isEntrypoint: boolean; dependencies: string[]; exports: string[]; }[]; graphs: { imports: { fromPath: string; toPath: string; sourcePath: string; }[]; calls: { fromSymbol: string; toSymbol: string; callExpression: string; sourcePath: string; }[]; typeReferences: { fromSymbol: string; toType: string; sourcePath: string; }[]; componentComposition: { fromComponent: string; toComponent: string; jsxElement: string; sourcePath: string; }[]; }; } /*** * Converts analysis output into a serializable documentation model. */ export declare function buildModel(analysis: BuildModelInput): DocumentationModel; export {};