declare const _default: import("convex/server").SchemaDefinition<{ agents: import("convex/server").TableDefinition; appKey: import("convex/values").VString; apiKeyHash: import("convex/values").VString; enabled: import("convex/values").VBoolean; rateLimit: import("convex/values").VFloat64; lastUsed: import("convex/values").VFloat64; createdAt: import("convex/values").VFloat64; }, "required", "appKey" | "enabled" | "name" | "rateLimit" | "apiKeyHash" | "lastUsed" | "createdAt">, { by_apiKeyHash: ["apiKeyHash", "_creationTime"]; by_appKey: ["appKey", "_creationTime"]; by_enabled: ["enabled", "_creationTime"]; }, {}, {}>; agentPermissions: import("convex/server").TableDefinition; functionPattern: string; permission: "allow" | "deny" | "rate_limited"; updatedAt: number; }, { agentId: import("convex/values").VId, "required">; functionPattern: import("convex/values").VString; permission: import("convex/values").VUnion<"allow" | "deny" | "rate_limited", [import("convex/values").VLiteral<"allow", "required">, import("convex/values").VLiteral<"deny", "required">, import("convex/values").VLiteral<"rate_limited", "required">], "required", never>; rateLimitConfig: import("convex/values").VObject<{ tokenBudget?: number | undefined; requestsPerHour: number; } | undefined, { requestsPerHour: import("convex/values").VFloat64; tokenBudget: import("convex/values").VFloat64; }, "optional", "requestsPerHour" | "tokenBudget">; updatedAt: import("convex/values").VFloat64; }, "required", "agentId" | "functionPattern" | "permission" | "rateLimitConfig" | "updatedAt" | "rateLimitConfig.requestsPerHour" | "rateLimitConfig.tokenBudget">, { by_agentId: ["agentId", "_creationTime"]; }, {}, {}>; agentFunctions: import("convex/server").TableDefinition; enabled: import("convex/values").VBoolean; globalRateLimit: import("convex/values").VFloat64; }, "required", "enabled" | "key" | "globalRateLimit">, { by_key: ["key", "_creationTime"]; }, {}, {}>; agentLogs: import("convex/server").TableDefinition; functionKey: string; args: any; duration: number; timestamp: number; }, { agentId: import("convex/values").VId, "required">; serviceId: import("convex/values").VString; functionKey: import("convex/values").VString; args: import("convex/values").VAny; result: import("convex/values").VAny; error: import("convex/values").VString; errorCode: import("convex/values").VString; duration: import("convex/values").VFloat64; linkedProvider: import("convex/values").VString; providerUserIdHash: import("convex/values").VString; appUserSubjectHash: import("convex/values").VString; linkStatus: import("convex/values").VString; rateLimited: import("convex/values").VBoolean; timestamp: import("convex/values").VFloat64; }, "required", "agentId" | "functionKey" | "appUserSubjectHash" | "args" | "duration" | "error" | "errorCode" | "linkStatus" | "linkedProvider" | "providerUserIdHash" | "rateLimited" | "result" | "serviceId" | "timestamp" | `args.${string}` | `result.${string}`>, { by_agentId_and_timestamp: ["agentId", "timestamp", "_creationTime"]; by_serviceId_and_timestamp: ["serviceId", "timestamp", "_creationTime"]; by_functionKey: ["functionKey", "_creationTime"]; by_timestamp: ["timestamp", "_creationTime"]; }, {}, {}>; agentUserLinks: import("convex/server").TableDefinition; providerUserId: import("convex/values").VString; appKey: import("convex/values").VString; appUserSubject: import("convex/values").VString; status: import("convex/values").VUnion<"active" | "revoked" | "expired", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"revoked", "required">, import("convex/values").VLiteral<"expired", "required">], "required", never>; createdAt: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; lastUsedAt: import("convex/values").VFloat64; expiresAt: import("convex/values").VFloat64; revokedAt: import("convex/values").VFloat64; metadata: import("convex/values").VAny; refreshTokenCiphertext: import("convex/values").VString; refreshTokenExpiresAt: import("convex/values").VFloat64; tokenVersion: import("convex/values").VFloat64; }, "required", "appKey" | "provider" | "status" | "providerUserId" | "appUserSubject" | "metadata" | "refreshTokenCiphertext" | "refreshTokenExpiresAt" | "tokenVersion" | "createdAt" | "updatedAt" | "lastUsedAt" | "expiresAt" | "revokedAt" | `metadata.${string}`>, { by_provider_providerUserId_appKey: ["provider", "providerUserId", "appKey", "_creationTime"]; by_appKey_status: ["appKey", "status", "_creationTime"]; by_appUserSubject_appKey: ["appUserSubject", "appKey", "_creationTime"]; }, {}, {}>; agentLinkRateLimits: import("convex/server").TableDefinition; bucketStartMs: import("convex/values").VFloat64; requestCount: import("convex/values").VFloat64; updatedAt: import("convex/values").VFloat64; }, "required", "updatedAt" | "key" | "bucketStartMs" | "requestCount">, { by_key_bucketStartMs: ["key", "bucketStartMs", "_creationTime"]; }, {}, {}>; }, true>; export default _default; //# sourceMappingURL=schema.d.ts.map