import { format } from 'prettier';
export async function formatOutput(content) {
    try {
        return await format(content, {
            parser: 'typescript',
            semi: false,
        });
    }
    catch (error) {
        // oxlint-disable-next-line no-console
        console.warn('Warning: Unable to format output with prettier:', error);
        return content;
    }
}
//# sourceMappingURL=format.js.map