import { z } from "zod"; export declare const createCompanyInviteSchema: z.ZodObject<{ allowedJoinTypes: z.ZodDefault>; humanRole: z.ZodNullable>>; defaultsPayload: z.ZodNullable>>; agentMessage: z.ZodNullable>; }, "strip", z.ZodTypeAny, { allowedJoinTypes: "agent" | "human" | "both"; humanRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; defaultsPayload?: Record | null | undefined; agentMessage?: string | null | undefined; }, { allowedJoinTypes?: "agent" | "human" | "both" | undefined; humanRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; defaultsPayload?: Record | null | undefined; agentMessage?: string | null | undefined; }>; export type CreateCompanyInvite = z.infer; export declare const createOpenClawInvitePromptSchema: z.ZodObject<{ agentMessage: z.ZodNullable>; }, "strip", z.ZodTypeAny, { agentMessage?: string | null | undefined; }, { agentMessage?: string | null | undefined; }>; export type CreateOpenClawInvitePrompt = z.infer; export declare const acceptInviteSchema: z.ZodObject<{ requestType: z.ZodEnum<["human", "agent"]>; agentName: z.ZodOptional; adapterType: z.ZodOptional; capabilities: z.ZodNullable>; agentDefaultsPayload: z.ZodNullable>>; responsesWebhookUrl: z.ZodNullable>; responsesWebhookMethod: z.ZodNullable>; responsesWebhookHeaders: z.ZodNullable>>; paperclipApiUrl: z.ZodNullable>; webhookAuthHeader: z.ZodNullable>; }, "strip", z.ZodTypeAny, { requestType: "agent" | "human"; adapterType?: string | undefined; capabilities?: string | null | undefined; agentName?: string | undefined; agentDefaultsPayload?: Record | null | undefined; responsesWebhookUrl?: string | null | undefined; responsesWebhookMethod?: string | null | undefined; responsesWebhookHeaders?: Record | null | undefined; paperclipApiUrl?: string | null | undefined; webhookAuthHeader?: string | null | undefined; }, { requestType: "agent" | "human"; adapterType?: string | undefined; capabilities?: string | null | undefined; agentName?: string | undefined; agentDefaultsPayload?: Record | null | undefined; responsesWebhookUrl?: string | null | undefined; responsesWebhookMethod?: string | null | undefined; responsesWebhookHeaders?: Record | null | undefined; paperclipApiUrl?: string | null | undefined; webhookAuthHeader?: string | null | undefined; }>; export type AcceptInvite = z.infer; export declare const listJoinRequestsQuerySchema: z.ZodObject<{ status: z.ZodOptional>; requestType: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status?: "pending_approval" | "rejected" | "approved" | undefined; requestType?: "agent" | "human" | undefined; }, { status?: "pending_approval" | "rejected" | "approved" | undefined; requestType?: "agent" | "human" | undefined; }>; export type ListJoinRequestsQuery = z.infer; export declare const listCompanyInvitesQuerySchema: z.ZodObject<{ state: z.ZodOptional>; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { offset: number; limit: number; state?: "active" | "accepted" | "expired" | "revoked" | undefined; }, { state?: "active" | "accepted" | "expired" | "revoked" | undefined; offset?: number | undefined; limit?: number | undefined; }>; export type ListCompanyInvitesQuery = z.infer; export declare const claimJoinRequestApiKeySchema: z.ZodObject<{ claimSecret: z.ZodString; }, "strip", z.ZodTypeAny, { claimSecret: string; }, { claimSecret: string; }>; export type ClaimJoinRequestApiKey = z.infer; export declare const boardCliAuthAccessLevelSchema: z.ZodEnum<["board", "instance_admin_required"]>; export type BoardCliAuthAccessLevel = z.infer; export declare const createCliAuthChallengeSchema: z.ZodObject<{ command: z.ZodString; clientName: z.ZodNullable>; requestedAccess: z.ZodDefault>; requestedCompanyId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { command: string; requestedAccess: "board" | "instance_admin_required"; clientName?: string | null | undefined; requestedCompanyId?: string | null | undefined; }, { command: string; clientName?: string | null | undefined; requestedAccess?: "board" | "instance_admin_required" | undefined; requestedCompanyId?: string | null | undefined; }>; export type CreateCliAuthChallenge = z.infer; export declare const resolveCliAuthChallengeSchema: z.ZodObject<{ token: z.ZodString; }, "strip", z.ZodTypeAny, { token: string; }, { token: string; }>; export type ResolveCliAuthChallenge = z.infer; export declare const createBoardApiKeySchema: z.ZodObject<{ name: z.ZodDefault; expiresAt: z.ZodNullable>; requestedCompanyId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string; requestedCompanyId?: string | null | undefined; expiresAt?: Date | null | undefined; }, { name?: string | undefined; requestedCompanyId?: string | null | undefined; expiresAt?: Date | null | undefined; }>; export type CreateBoardApiKey = z.infer; export declare const updateMemberPermissionsSchema: z.ZodObject<{ grants: z.ZodArray; scope: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }, { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { grants: { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }[]; }, { grants: { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }[]; }>; export type UpdateMemberPermissions = z.infer; export declare const updateCompanyMemberSchema: z.ZodEffects>>; status: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status?: "active" | "pending" | "suspended" | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }, { status?: "active" | "pending" | "suspended" | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }>, { status?: "active" | "pending" | "suspended" | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }, { status?: "active" | "pending" | "suspended" | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }>; export type UpdateCompanyMember = z.infer; export declare const updateCompanyMemberWithPermissionsSchema: z.ZodEffects>>; status: z.ZodOptional>; grants: z.ZodDefault; scope: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }, { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { grants: { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }[]; status?: "active" | "pending" | "suspended" | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }, { status?: "active" | "pending" | "suspended" | undefined; grants?: { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }[] | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }>, { grants: { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }[]; status?: "active" | "pending" | "suspended" | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }, { status?: "active" | "pending" | "suspended" | undefined; grants?: { permissionKey: "agents:create" | "environments:manage" | "users:invite" | "users:manage_permissions" | "tasks:assign" | "tasks:assign_scope" | "tasks:manage_active_checkouts" | "joins:approve"; scope?: Record | null | undefined; }[] | undefined; membershipRole?: "owner" | "admin" | "operator" | "viewer" | null | undefined; }>; export type UpdateCompanyMemberWithPermissions = z.infer; export declare const archiveCompanyMemberSchema: z.ZodEffects>; assigneeUserId: z.ZodNullable>; }, "strip", z.ZodTypeAny, { assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; }, { assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { reassignment?: { assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; } | null | undefined; }, { reassignment?: { assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; } | null | undefined; }>, { reassignment?: { assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; } | null | undefined; }, { reassignment?: { assigneeAgentId?: string | null | undefined; assigneeUserId?: string | null | undefined; } | null | undefined; }>; export type ArchiveCompanyMember = z.infer; export declare const updateUserCompanyAccessSchema: z.ZodObject<{ companyIds: z.ZodDefault>; }, "strip", z.ZodTypeAny, { companyIds: string[]; }, { companyIds?: string[] | undefined; }>; export type UpdateUserCompanyAccess = z.infer; export declare const searchAdminUsersQuerySchema: z.ZodObject<{ query: z.ZodDefault>; }, "strip", z.ZodTypeAny, { query: string; }, { query?: string | undefined; }>; export type SearchAdminUsersQuery = z.infer; export declare const currentUserProfileSchema: z.ZodObject<{ id: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; image: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; id: string; image: string | null; email: string | null; }, { name: string | null; id: string; image: string | null; email: string | null; }>; export type CurrentUserProfile = z.infer; export declare const authSessionSchema: z.ZodObject<{ session: z.ZodObject<{ id: z.ZodString; userId: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; userId: string; }, { id: string; userId: string; }>; user: z.ZodObject<{ id: z.ZodString; email: z.ZodNullable; name: z.ZodNullable; image: z.ZodNullable>; }, "strip", z.ZodTypeAny, { name: string | null; id: string; image: string | null; email: string | null; }, { name: string | null; id: string; image: string | null; email: string | null; }>; }, "strip", z.ZodTypeAny, { user: { name: string | null; id: string; image: string | null; email: string | null; }; session: { id: string; userId: string; }; }, { user: { name: string | null; id: string; image: string | null; email: string | null; }; session: { id: string; userId: string; }; }>; export type AuthSession = z.infer; export declare const updateCurrentUserProfileSchema: z.ZodObject<{ name: z.ZodString; image: z.ZodEffects, z.ZodLiteral<"">, z.ZodNull]>>, string | null | undefined, string | null | undefined>; }, "strip", z.ZodTypeAny, { name: string; image?: string | null | undefined; }, { name: string; image?: string | null | undefined; }>; export type UpdateCurrentUserProfile = z.infer; //# sourceMappingURL=access.d.ts.map