import { FormatConfig, FormatConfig as FormatConfig$1 } from "oxfmt";

//#region src/transformers/format.d.ts
/**
 * Pretty-print an HTML string with `oxfmt`. Maizzle defaults
 * (`printWidth: 320`, `htmlWhitespaceSensitivity: 'ignore'`,
 * `embeddedLanguageFormatting: 'off'`) are merged underneath any options
 * you pass.
 *
 * @param html    HTML string to format.
 * @param options [oxfmt `FormatConfig`](https://github.com/oxc-project/oxfmt).
 * @returns       The formatted HTML string.
 *
 * @example
 * import { format } from '@maizzle/framework'
 *
 * const pretty = await format(html, { useTabs: true, tabWidth: 4 })
 */
declare function format(html: string, options?: FormatConfig$1): Promise<string>;
//#endregion
export { type FormatConfig, format };
//# sourceMappingURL=format.d.ts.map