import type { Client } from "@libsql/client"; import { type PatternRunArgs, type PatternRunResult } from "../../flows/pattern-run.js"; import type { Inverse, Operation, Preview, Receipt, SyncHorizon } from "../operation.js"; export interface CaptureInput { vaultName: string; title: string; slug?: string; dir?: string; vars?: Record; } export interface CaptureOperationDeps { opLogDb: Client; runCapture?: (args: PatternRunArgs) => Promise; now?: () => string; audit?: (op: Operation, receipt: Receipt, ctx: { vaultPath: string; relPath: string; }) => Promise; } export declare class CaptureOperation implements Operation { private readonly input; private readonly deps; readonly kind = "capture"; readonly horizon: SyncHorizon; private applied; lastResult: PatternRunResult | null; constructor(input: CaptureInput, deps: CaptureOperationDeps); preview(): Promise; apply(): Promise; inverse(): Inverse; logline(): string; } //# sourceMappingURL=capture-op.d.ts.map