/** * Command-level idempotency for the Convex projection. * * Mirrors reference-runtime IdempotencyStore semantics at the Convex storage * boundary: when callers supply `idempotencyKey`, duplicate invocations return * the cached mutation result without re-running guards, writes, emits, or reactions. */ import type { NormalizedConvexOptions } from './options.js'; export declare const COMMAND_IDEMPOTENCY_ARG_LINE = " idempotencyKey: v.optional(v.string())"; export declare function commandIdempotencyEnabled(options: NormalizedConvexOptions): boolean; export declare function renderCommandIdempotencySchemaBlock(tableName: string): string; export declare function renderCommandIdempotencyHelpers(tableName: string): string; export declare function appendCommandIdempotencyArg(argLines: string[], options: NormalizedConvexOptions): void; export declare function renderCommandIdempotencyPrologue(): string[]; export declare function renderCommandIdempotencyEpilogue(exportName: string, resultExpr: string): string[]; export declare function renderCommandIdempotencyWrappedRunnerHandler(exportName: string, runnerName: string): string; //# sourceMappingURL=command-idempotency.d.ts.map