import type { FormatOptionsWithLanguage as VendoredFormatOptionsWithLanguage } from './vendor/sql-formatter/sqlFormatter.js'; export type SqlFormatStyle = 'sqlfu' | 'upstream'; /** Subset of the vendored dialects we expose by name. */ export type SqlFormatLanguage = 'sqlite' | 'postgresql'; export type FormatSqlOptions = Omit & { style?: SqlFormatStyle; printWidth?: number; inlineClauses?: boolean; newlineBeforeTableName?: boolean; /** * Pick the SQL dialect to format for. Default `'sqlite'` keeps the * historical behavior; consumers driven by a project config (the CLI, * the lint plugin, the public `format()` API) pass through whatever * the project's `dialect.name` resolves to. */ language?: SqlFormatLanguage; }; export declare function formatSql(sql: string, options?: FormatSqlOptions): string; /** * Format a standalone `.sql` file's contents the same way the `format-sql` * rule formats inline SQL templates. Pure string-in, string-out; preserves a * trailing newline if the input had one. */ export declare function formatSqlFileContents(contents: string, options?: { language?: SqlFormatLanguage; }): string;