import { type CardinalityFill, type UnresolvedEdge } from './add-cardinality.js'; export interface CodemodRunOptions { readonly cwd: string; readonly files: readonly string[]; /** When true, compute everything but do not write to disk. */ readonly dryRun: boolean; } export interface FileResult { /** Source path relative to `cwd`. */ readonly file: string; readonly fills: readonly CardinalityFill[]; readonly unresolved: readonly UnresolvedEdge[]; /** True when the codemod produced a different text than the input. */ readonly changed: boolean; } export interface CodemodRunResult { /** One entry per file that had at least one fill or unresolved edge. */ readonly files: readonly FileResult[]; readonly totalFills: number; readonly totalUnresolved: number; readonly filesChanged: number; } /** Runs the cardinality codemod across `files`. Missing or unparseable files are skipped. */ export declare function runFlowCardinalityCodemod(opts: CodemodRunOptions): CodemodRunResult; //# sourceMappingURL=run.d.ts.map