import type { Dialect } from "./kysely.js"; export interface FormatOptions { isTTY: boolean; } export type GenFileStatus = "new" | "merged" | "conflict" | "unchanged" | "refused"; export interface GenFileEntry { path: string; status: GenFileStatus; info: string; } export interface GenResultShape { files: GenFileEntry[]; outDir: string; dialect: Dialect; dryRun: boolean; warnings: string[]; } export declare function formatGenResult(result: GenResultShape, opts: FormatOptions): string; export interface BlockedEntry { kind: string; description: string; allowFlag: string; } export interface AmbiguousEntry { kind: string; description: string; hint: string; } export interface MigrateResultShape { dialect: Dialect; displayUrl: string; changeCounts: Record; blocked: BlockedEntry[]; ambiguous: AmbiguousEntry[]; writtenPaths: string[]; dryRun: boolean; /** Names of migrations actually applied to the DB this run (empty unless --apply ran and succeeded). */ applied?: string[]; /** True when --apply was attempted but failed (exit 1). */ applyFailed?: boolean; } export declare function formatMigrateResult(result: MigrateResultShape, _opts: FormatOptions): string; export declare function genResultToData(result: GenResultShape): { gen: { file: string; status: GenFileStatus; }[]; summary: string; help: string[]; }; export declare function formatGenResultToon(result: GenResultShape): string; export declare function migrateResultToData(result: MigrateResultShape): { changes: { kind: string; count: number; }[]; written: string[]; summary: string; help: string[]; }; export declare function formatMigrateResultToon(result: MigrateResultShape): string; //# sourceMappingURL=output.d.ts.map