/** * Code formatting utilities * * Handles: * - Prettier integration * - Comment generation * - Code structure formatting */ /** * Format TypeScript code with Prettier. * Prettier is loaded lazily so that environments where it is not installed * (e.g. the VS Code extension bundle) can still load this module without * crashing at require-time. */ export declare function formatTypeScript(code: string): Promise; /** * Generate section comment */ export declare function generateSectionComment(title: string, style?: 'minimal' | 'verbose'): string; /** * Generate inline comment */ export declare function generateInlineComment(text: string): string; /** * Indent code block */ export declare function indent(code: string, level?: number, spaces?: number): string; /** * Generate import statement */ export declare function generateImportStatement(items: string[], from: string): string; /** * Wrap object in braces with proper formatting */ export declare function formatObject(obj: Record, inline?: boolean): string; //# sourceMappingURL=formatting.d.ts.map