declare const _default: import("convex/server").SchemaDefinition<{ content: import("convex/server").TableDefinition; mimeType: import("convex/values").VString; filename: import("convex/values").VString; path: import("convex/values").VString; }, "required", "content" | "mimeType" | "filename" | "path">, {}, {}, {}>; nextBatchRun: import("convex/server").TableDefinition; }, { runId: import("convex/values").VId, "required">; }, "required", "runId">, {}, {}, {}>; lastOptions: import("convex/server").TableDefinition; retryAttempts: import("convex/values").VFloat64; apiKey: import("convex/values").VString; testMode: import("convex/values").VBoolean; onEmailEvent: import("convex/values").VObject<{ fnHandle: string; } | undefined, { fnHandle: import("convex/values").VString; }, "optional", "fnHandle">; }, "required", "initialBackoffMs" | "retryAttempts" | "apiKey" | "testMode" | "onEmailEvent" | "onEmailEvent.fnHandle">; }, "required", "options" | "options.initialBackoffMs" | "options.retryAttempts" | "options.apiKey" | "options.testMode" | "options.onEmailEvent" | "options.onEmailEvent.fnHandle">, {}, {}, {}>; deliveryEvents: import("convex/server").TableDefinition; resendId: string; eventType: "email.sent" | "email.delivered" | "email.delivery_delayed" | "email.complained" | "email.bounced" | "email.opened" | "email.clicked" | "email.failed"; createdAt: string; }, { emailId: import("convex/values").VId, "required">; resendId: import("convex/values").VString; eventType: import("convex/values").VUnion<"email.sent" | "email.delivered" | "email.delivery_delayed" | "email.complained" | "email.bounced" | "email.opened" | "email.clicked" | "email.failed", [import("convex/values").VUnion<"email.sent" | "email.delivered" | "email.delivery_delayed" | "email.complained" | "email.bounced" | "email.opened" | "email.clicked" | "email.failed", NoInfer<[import("convex/values").VLiteral<"email.sent", "required">, import("convex/values").VLiteral<"email.delivered", "required">, import("convex/values").VLiteral<"email.bounced", "required">, import("convex/values").VLiteral<"email.complained", "required">, import("convex/values").VLiteral<"email.failed", "required">, import("convex/values").VLiteral<"email.delivery_delayed", "required">, import("convex/values").VLiteral<"email.opened", "required">, import("convex/values").VLiteral<"email.clicked", "required">]>, "required", never>], "required", never>; createdAt: import("convex/values").VString; message: import("convex/values").VString; }, "required", "message" | "emailId" | "resendId" | "eventType" | "createdAt">, { by_emailId_eventType: ["emailId", "eventType", "_creationTime"]; }, {}, {}>; emails: import("convex/server").TableDefinition | undefined; template?: { variables?: Record | undefined; id: string; } | undefined; text?: import("convex/values").GenericId<"content"> | undefined; errorMessage?: string | undefined; resendId?: string | undefined; deliveryDelayed?: boolean | undefined; clicked?: boolean | undefined; from: string; to: string | string[]; replyTo: string[]; status: "waiting" | "queued" | "cancelled" | "sent" | "delivered" | "delivery_delayed" | "bounced" | "failed"; complained: boolean; opened: boolean; segment: number; finalizedAt: number; }, { from: import("convex/values").VString; to: import("convex/values").VUnion, "required">, import("convex/values").VString], "required", never>; cc: import("convex/values").VArray, "optional">; bcc: import("convex/values").VArray, "optional">; subject: import("convex/values").VString; replyTo: import("convex/values").VArray, "required">; html: import("convex/values").VId | undefined, "optional">; text: import("convex/values").VId | undefined, "optional">; template: import("convex/values").VObject<{ variables?: Record | undefined; id: string; } | undefined, { id: import("convex/values").VString; variables: import("convex/values").VRecord | undefined, import("convex/values").VString, import("convex/values").VUnion, import("convex/values").VFloat64], "required", never>, "optional", string>; }, "optional", "id" | "variables" | `variables.${string}`>; headers: import("convex/values").VArray<{ name: string; value: string; }[] | undefined, import("convex/values").VObject<{ name: string; value: string; }, { name: import("convex/values").VString; value: import("convex/values").VString; }, "required", "name" | "value">, "optional">; status: import("convex/values").VUnion<"waiting" | "queued" | "cancelled" | "sent" | "delivered" | "delivery_delayed" | "bounced" | "failed", [import("convex/values").VLiteral<"waiting", "required">, import("convex/values").VLiteral<"queued", "required">, import("convex/values").VLiteral<"cancelled", "required">, import("convex/values").VLiteral<"sent", "required">, import("convex/values").VLiteral<"delivered", "required">, import("convex/values").VLiteral<"delivery_delayed", "required">, import("convex/values").VLiteral<"bounced", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>; complained: import("convex/values").VBoolean; errorMessage: import("convex/values").VString; opened: import("convex/values").VBoolean; bounced: import("convex/values").VBoolean; failed: import("convex/values").VBoolean; deliveryDelayed: import("convex/values").VBoolean; clicked: import("convex/values").VBoolean; resendId: import("convex/values").VString; segment: import("convex/values").VFloat64; finalizedAt: import("convex/values").VFloat64; }, "required", "bounced" | "failed" | "from" | "to" | "cc" | "bcc" | "headers" | "subject" | "replyTo" | "html" | "template" | "text" | "errorMessage" | "resendId" | "status" | "complained" | "opened" | "deliveryDelayed" | "clicked" | "segment" | "finalizedAt" | "template.id" | "template.variables" | `template.variables.${string}`>, { by_status_segment: ["status", "segment", "_creationTime"]; by_resendId: ["resendId", "_creationTime"]; by_finalizedAt: ["finalizedAt", "_creationTime"]; }, {}, {}>; }, true>; export default _default; //# sourceMappingURL=schema.d.ts.map