//#region src/components/approvals/schema.d.ts declare const _default: import("convex/server").SchemaDefinition<{ approvalRuns: import("convex/server").TableDefinition; resourceType: import("convex/values").VString; resourceRef: import("convex/values").VString; requester: import("convex/values").VObject<{ actorRef: string; capabilities: string[]; metadata?: { [x: string]: string; } | undefined; }, { actorRef: import("convex/values").VString; capabilities: import("convex/values").VArray, "required">; metadata: import("convex/values").VRecord | undefined, import("convex/values").VString, import("convex/values").VString, "optional", string>; }, "required", "actorRef" | "capabilities" | "metadata" | `metadata.${string}`>; metadata: import("convex/values").VRecord | undefined, import("convex/values").VString, import("convex/values").VString, "optional", string>; workflow: import("convex/values").VObject<{ schemaVersion: 1; compatibilityKey: string; name: string; steps: ({ kind: "mutation"; key: string; callback: { kind: "mutation"; handle: string; retry: boolean; }; } | { kind: "action"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; } | { kind: "notify"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; } | { kind: "decision"; key: string; decisions: ("approved" | "rejected")[]; quorum: { kind: "count"; approvals: number; }; makerChecker: boolean; expiresAfterMs?: number | undefined; } | { kind: "branch"; key: string; approvedStepKey: string; rejectedStepKey: string; })[]; }, { schemaVersion: import("convex/values").VLiteral<1, "required">; compatibilityKey: import("convex/values").VString; name: import("convex/values").VString; steps: import("convex/values").VArray<({ kind: "mutation"; key: string; callback: { kind: "mutation"; handle: string; retry: boolean; }; } | { kind: "action"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; } | { kind: "notify"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; } | { kind: "decision"; key: string; decisions: ("approved" | "rejected")[]; quorum: { kind: "count"; approvals: number; }; makerChecker: boolean; expiresAfterMs?: number | undefined; } | { kind: "branch"; key: string; approvedStepKey: string; rejectedStepKey: string; })[], import("convex/values").VUnion<{ kind: "mutation"; key: string; callback: { kind: "mutation"; handle: string; retry: boolean; }; } | { kind: "action"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; } | { kind: "notify"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; } | { kind: "decision"; key: string; decisions: ("approved" | "rejected")[]; quorum: { kind: "count"; approvals: number; }; makerChecker: boolean; expiresAfterMs?: number | undefined; } | { kind: "branch"; key: string; approvedStepKey: string; rejectedStepKey: string; }, [import("convex/values").VUnion<{ kind: "mutation"; key: string; callback: { kind: "mutation"; handle: string; retry: boolean; }; } | { kind: "action"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; }, [import("convex/values").VObject<{ kind: "mutation"; key: string; callback: { kind: "mutation"; handle: string; retry: boolean; }; }, { kind: import("convex/values").VLiteral<"mutation", "required">; key: import("convex/values").VString; callback: import("convex/values").VObject<{ kind: "mutation"; handle: string; retry: boolean; }, { kind: import("convex/values").VLiteral<"mutation", "required">; handle: import("convex/values").VString; retry: import("convex/values").VBoolean; }, "required", "handle" | "kind" | "retry">; }, "required", "callback" | "callback.handle" | "callback.kind" | "callback.retry" | "key" | "kind">, import("convex/values").VObject<{ kind: "action"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; }, { kind: import("convex/values").VLiteral<"action", "required">; key: import("convex/values").VString; callback: import("convex/values").VObject<{ kind: "action"; handle: string; retry: boolean; }, { kind: import("convex/values").VLiteral<"action", "required">; handle: import("convex/values").VString; retry: import("convex/values").VBoolean; }, "required", "handle" | "kind" | "retry">; }, "required", "callback" | "callback.handle" | "callback.kind" | "callback.retry" | "key" | "kind">], "required", "callback" | "callback.handle" | "callback.kind" | "callback.retry" | "key" | "kind">, import("convex/values").VObject<{ kind: "notify"; key: string; callback: { kind: "action"; handle: string; retry: boolean; }; }, { kind: import("convex/values").VLiteral<"notify", "required">; key: import("convex/values").VString; callback: import("convex/values").VObject<{ kind: "action"; handle: string; retry: boolean; }, { kind: import("convex/values").VLiteral<"action", "required">; handle: import("convex/values").VString; retry: import("convex/values").VBoolean; }, "required", "handle" | "kind" | "retry">; }, "required", "callback" | "callback.handle" | "callback.kind" | "callback.retry" | "key" | "kind">, import("convex/values").VObject<{ kind: "decision"; key: string; decisions: ("approved" | "rejected")[]; quorum: { kind: "count"; approvals: number; }; makerChecker: boolean; expiresAfterMs?: number | undefined; }, { kind: import("convex/values").VLiteral<"decision", "required">; key: import("convex/values").VString; decisions: import("convex/values").VArray<("approved" | "rejected")[], import("convex/values").VUnion<"approved" | "rejected", (import("convex/values").VLiteral<"approved", "required"> | import("convex/values").VLiteral<"rejected", "required">)[], "required", never>, "required">; quorum: import("convex/values").VObject<{ kind: "count"; approvals: number; }, { kind: import("convex/values").VUnion<"count", import("convex/values").VLiteral<"count", "required">[], "required", never>; approvals: import("convex/values").VFloat64; }, "required", "approvals" | "kind">; makerChecker: import("convex/values").VBoolean; expiresAfterMs: import("convex/values").VFloat64; }, "required", "decisions" | "expiresAfterMs" | "key" | "kind" | "makerChecker" | "quorum" | "quorum.approvals" | "quorum.kind">, import("convex/values").VObject<{ kind: "branch"; key: string; approvedStepKey: string; rejectedStepKey: string; }, { kind: import("convex/values").VLiteral<"branch", "required">; key: import("convex/values").VString; approvedStepKey: import("convex/values").VString; rejectedStepKey: import("convex/values").VString; }, "required", "approvedStepKey" | "key" | "kind" | "rejectedStepKey">], "required", "approvedStepKey" | "callback" | "callback.handle" | "callback.kind" | "callback.retry" | "decisions" | "expiresAfterMs" | "key" | "kind" | "makerChecker" | "quorum" | "quorum.approvals" | "quorum.kind" | "rejectedStepKey">, "required">; }, "required", "compatibilityKey" | "name" | "schemaVersion" | "steps">; state: import("convex/values").VUnion<"approved" | "canceled" | "expired" | "pending" | "rejected", (import("convex/values").VLiteral<"approved", "required"> | import("convex/values").VLiteral<"canceled", "required"> | import("convex/values").VLiteral<"expired", "required"> | import("convex/values").VLiteral<"pending", "required"> | import("convex/values").VLiteral<"rejected", "required">)[], "required", never>; currentStepKey: import("convex/values").VString; executionFailedStepKey: import("convex/values").VString; expiresAt: import("convex/values").VFloat64; workflowId: import("convex/values").VString; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; terminalAt: import("convex/values").VFloat64; }, "required", "createdAt" | "currentStepKey" | "executionFailedStepKey" | "expiresAt" | "metadata" | "requester" | "requester.actorRef" | "requester.capabilities" | "requester.metadata" | "resourceRef" | "resourceType" | "scopeRef" | "state" | "terminalAt" | "updatedAt" | "workflow" | "workflow.compatibilityKey" | "workflow.name" | "workflow.schemaVersion" | "workflow.steps" | "workflowId" | `metadata.${string}` | `requester.metadata.${string}`>, { by_resourceType_and_resourceRef: ["resourceType", "resourceRef", "_creationTime"]; by_scopeRef_and_state: ["scopeRef", "state", "_creationTime"]; by_state_and_expiresAt: ["state", "expiresAt", "_creationTime"]; }, {}, {}>; approvalDecisions: import("convex/server").TableDefinition, "required">; stepKey: import("convex/values").VString; actor: import("convex/values").VObject<{ actorRef: string; capabilities: string[]; metadata?: { [x: string]: string; } | undefined; }, { actorRef: import("convex/values").VString; capabilities: import("convex/values").VArray, "required">; metadata: import("convex/values").VRecord | undefined, import("convex/values").VString, import("convex/values").VString, "optional", string>; }, "required", "actorRef" | "capabilities" | "metadata" | `metadata.${string}`>; decision: import("convex/values").VUnion<"approved" | "rejected", (import("convex/values").VLiteral<"approved", "required"> | import("convex/values").VLiteral<"rejected", "required">)[], "required", never>; reason: import("convex/values").VString; decidedAt: import("convex/values").VFloat64; }, "required", "actor" | "actor.actorRef" | "actor.capabilities" | "actor.metadata" | "decidedAt" | "decision" | "reason" | "runId" | "stepKey" | `actor.metadata.${string}`>, { by_runId_and_decidedAt: ["runId", "decidedAt", "_creationTime"]; by_runId_and_stepKey_and_actor_actorRef: ["runId", "stepKey", "actor.actorRef", "_creationTime"]; by_runId_and_stepKey_and_decidedAt: ["runId", "stepKey", "decidedAt", "_creationTime"]; }, {}, {}>; }, true>; //#endregion export { _default as default }; //# sourceMappingURL=schema.d.mts.map