import type { PostRenderHook } from "../config-types-v4"; /** * Post-render hook that formats TypeScript files with Prettier. * * This hook will automatically format all TypeScript files using Prettier * if it's installed in your project. If Prettier is not installed, files * will be returned unformatted without errors. * * The hook respects your project's Prettier configuration (.prettierrc, etc.). * * @example * ```typescript * import { makePgTsGenerator, formatWithPrettier } from 'kanel'; * * const config = { * generators: [makePgTsGenerator()], * postRenderHooks: [formatWithPrettier], * }; * ``` */ declare const formatWithPrettier: PostRenderHook; export default formatWithPrettier;