import * as z from 'zod/mini'; import type * as App from '../../../App.js'; import * as Response from '../../../internal/Response.js'; /** Zod schemas owned by the members resource. */ export declare namespace schema { /** A membership role. */ const Role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; /** One organization member: the membership plus the member's identity. */ const Member: z.ZodMiniObject<{ address: z.ZodMiniOptional>; createdAt: z.ZodMiniISODateTime; email: z.ZodMiniOptional; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; userId: z.ZodMiniString; }, z.core.$strip>; /** Path parameters addressing an organization's member collection. */ const Params: z.ZodMiniObject<{ orgId: z.ZodMiniString; }, z.core.$strip>; /** Path parameters addressing one member. */ const MemberParams: z.ZodMiniObject<{ orgId: z.ZodMiniString; userId: z.ZodMiniString; }, z.core.$strip>; /** Request body changing a member's role. */ const UpdateMemberRequest: z.ZodMiniObject<{ role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; }, z.core.$strip>; /** Schemas for the listMembers operation. */ namespace listMembers { /** Non-paginated list of an organization's members. */ const Response: z.ZodMiniObject<{ data: z.ZodMiniArray>; createdAt: z.ZodMiniISODateTime; email: z.ZodMiniOptional; role: z.ZodMiniEnum<{ admin: "admin"; member: "member"; owner: "owner"; }>; userId: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; } /** Schemas for the removeMember operation. */ namespace removeMember { /** Confirmation that the member was removed. */ const Response: z.ZodMiniObject<{ userId: z.ZodMiniString; }, z.core.$strip>; } } /** * Mounts the `/orgs/:orgId/members` resource: the organization's team. * Members and read-scoped keys list. Owners and write-scoped keys manage; * members may remove themselves. The last owner remains protected. */ export declare function members(): import("hono/hono-base").HonoBase; //# sourceMappingURL=members.d.ts.map