type Operation = { readonly type: "file-create"; readonly path: string; readonly source: "preset" | "block" | "generated"; } | { readonly type: "file-overwrite"; readonly path: string; readonly source: "preset" | "block" | "generated"; } | { readonly type: "file-skip"; readonly path: string; readonly reason: string; } | { readonly type: "dir-create"; readonly path: string; } | { readonly type: "dependency-add"; readonly name: string; readonly version: string; readonly section: "dependencies" | "devDependencies" | "peerDependencies"; } | { readonly type: "block-add"; readonly name: string; readonly files: readonly string[]; } | { readonly type: "config-inject"; readonly target: string; readonly description: string; } | { readonly type: "git"; readonly action: "init" | "add-all" | "commit"; readonly cwd: string; readonly message?: string | undefined; } | { readonly type: "install"; readonly command: string; readonly cwd: string; }; declare class OperationCollector { private readonly operations; add(op: Operation): void; getOperations(): readonly Operation[]; countByType(): Record; isEmpty(): boolean; toJSON(): { operations: readonly Operation[]; summary: Record; }; } export { Operation, OperationCollector };