/**
 * Multi-Language Code Formatter
 *
 * Provides code formatting for multiple languages:
 * - TypeScript/JavaScript (via built-in or prettier)
 * - Python (via built-in or black)
 * - JSON/YAML
 * - SQL
 * - HTML/CSS
 */
export type Language = 'typescript' | 'javascript' | 'python' | 'json' | 'yaml' | 'sql' | 'html' | 'css' | 'markdown';
export interface FormatOptions {
    /** Indentation size (spaces) */
    indentSize?: number;
    /** Use tabs instead of spaces */
    useTabs?: boolean;
    /** Max line width */
    lineWidth?: number;
    /** Use single quotes (JS/TS) */
    singleQuote?: boolean;
    /** Add trailing commas */
    trailingComma?: 'none' | 'es5' | 'all';
    /** Semicolons (JS/TS) */
    semicolons?: boolean;
}
export interface FormatResult {
    success: boolean;
    formatted?: string;
    error?: string;
    language: Language;
    formatter: string;
}
/**
 * Detect language from file extension
 */
export declare function detectLanguage(filePath: string): Language | null;
/**
 * Format code in a given language
 */
export declare function formatCode(code: string, language: Language, options?: FormatOptions): FormatResult;
/**
 * Format a file in place
 */
export declare function formatFile(filePath: string, options?: FormatOptions): Promise<FormatResult>;
/**
 * Check if external formatters are available
 */
export declare function checkFormatters(): Record<string, boolean>;
export default formatCode;
