/** * Base converter interface for DocShell */ import type { ConversionResult, DocShellConfig, OutlineItem } from '../types/index.js'; export interface Converter { /** * Convert a document to normalized text */ convert(filepath: string, config: DocShellConfig): Promise; /** * Extract outline/structure without full conversion (faster) */ extractOutline(filepath: string, config: DocShellConfig): Promise; } /** * Create a conversion result with standard metadata */ export declare function createResult(text: string, type: ConversionResult['metadata']['type'], version: string, warnings?: string[], extra?: Partial): ConversionResult;