/** * Represents a section within structured content (code or markdown) */ export interface Section { /** Section type (e.g., 'function', 'class', 'header') */ type: string; /** Section name/title */ name: string; /** Starting line number (1-indexed) */ startLine: number; /** Ending line number (1-indexed) */ endLine: number; /** Text content of the section */ text: string; } /** * Metadata about extracted content */ export interface ContentMetadata { /** Total word count */ wordCount: number; /** Total line count */ lineCount: number; /** Detected or provided encoding */ encoding: string; /** Programming language or content type */ language?: string; } /** * Extracted content with text, structure, and metadata */ export interface ExtractedContent { /** Raw text content */ text: string; /** High-level content type (e.g., 'code', 'markdown', 'text') */ contentType?: string; /** Structured sections (for code/markdown) */ structure?: { sections: Section[]; }; /** Content metadata */ metadata: ContentMetadata; } //# sourceMappingURL=types.d.ts.map