import type { Node, Symbol as MorphSymbol, Type } from 'ts-morph'; import type { AnalyzedExport, AnalyzedProgram, AnalyzedProps, AnalyzedTypeMember, ResolvedTypeReference } from './model.js'; /*** * Collects exported declarations from configured entrypoints. */ export declare function collectExports(program: AnalyzedProgram): AnalyzedExport[]; /*** * Returns a human-readable signature for callable exports. */ export declare function getExportSignature(_program: AnalyzedProgram, analyzedExport: Pick): string | undefined; /*** * Resolves a named type reference from a node or symbol. */ export declare function resolveTypeReference(program: AnalyzedProgram, typeNodeOrSymbol: Node | Type | MorphSymbol): ResolvedTypeReference | null; /*** * Collects nested type members for interfaces and type literals. */ export declare function collectTypeMembers(program: AnalyzedProgram, reference: ResolvedTypeReference, options?: { inheritedFrom?: string; depth?: number; }): AnalyzedTypeMember[]; /*** * Extracts props metadata for a callable export. */ export declare function collectPropsForExport(program: AnalyzedProgram, analyzedExport: Pick): AnalyzedProps | undefined; /*** * Collects related types referenced by an export. */ export declare function collectRelatedTypes(analyzedExport: Pick): string[];