export declare const PRETTIER_PARSER_MAP: Record<string, string>;
export declare const PLUGIN_LOADERS: Record<string, () => Promise<unknown[]>>;
export type FormatCodeOptions = {
    printWidth?: number;
    tabWidth?: number;
    useTabs?: boolean;
    semi?: boolean;
    singleQuote?: boolean;
    trailingComma?: 'all' | 'es5' | 'none';
};
/**
 * Formats code using Prettier with lazy-loaded plugins.
 * Returns the original code if formatting fails or language is not supported.
 */
export declare function formatCode(code: string, language: string, options?: FormatCodeOptions): Promise<{
    formatted: string;
    success: boolean;
    error?: string;
}>;
/**
 * Checks if a language is supported by Prettier
 */
export declare function isLanguageSupported(language: string): boolean;
//# sourceMappingURL=prettier.d.ts.map