import { ValidationResult } from "./contract.mjs"; import { GenericDataModel, GenericDatabaseReader } from "convex/server"; import { Infer, Validator } from "convex/values"; //#region src/modules/contracts/convex.d.ts /** Keep native registration authoritative, especially for actions with no db. */ export declare function convexContract>(validator: V, options?: { db?: GenericDatabaseReader; }): { kind: "contract"; types?: { readonly input: Infer; readonly output: Infer; } | undefined; decode: (value: unknown) => Promise>> | ValidationResult>; schema: import("@standard-schema/spec").StandardSchemaV1, Infer>; nativeValidator: V; }; export type ConvexContractValue> = Infer; //#endregion //# sourceMappingURL=convex.d.mts.map