import * as z from 'zod/mini'; import * as Response from '../../../internal/Response.js'; import type { Environment } from '../App.js'; /** OpenAPI schemas owned by reusable invite links. */ export declare namespace schema { /** Management representation, including the recopyable bearer id. */ const InviteLink: z.ZodMiniObject<{ allowedEmailDomains: z.ZodMiniNullable>>>; createdAt: z.ZodMiniISODateTime; createdBy: z.ZodMiniString; enabled: z.ZodMiniBoolean; expiresAt: z.ZodMiniNullable; id: z.ZodMiniString; lastUsedAt: z.ZodMiniNullable; maxUses: z.ZodMiniNullable>; name: z.ZodMiniString; orgId: z.ZodMiniString; role: z.ZodMiniLiteral<"member">; status: z.ZodMiniEnum<{ active: "active"; deleted: "deleted"; disabled: "disabled"; exhausted: "exhausted"; expired: "expired"; }>; token: z.ZodMiniString; updatedAt: z.ZodMiniISODateTime; useCount: z.ZodMiniNumber; }, z.core.$strip>; /** Redemption audit representation (never includes a bearer URL). */ const Redemption: z.ZodMiniObject<{ createdAt: z.ZodMiniISODateTime; email: z.ZodMiniEmail; id: z.ZodMiniString; inviteLinkId: z.ZodMiniString; inviteLinkName: z.ZodMiniString; orgId: z.ZodMiniString; userId: z.ZodMiniString; }, z.core.$strip>; /** Create body. */ const CreateInviteLinkRequest: z.ZodMiniObject<{ allowedEmailDomains: z.ZodMiniOptional>>>>; expiresAt: z.ZodMiniOptional>; maxUses: z.ZodMiniOptional>>; name: z.ZodMiniOptional>; role: z.ZodMiniDefault>; }, z.core.$strip>; /** Update body. */ const UpdateInviteLinkRequest: z.ZodMiniObject<{ enabled: z.ZodMiniBoolean; }, z.core.$strip>; /** Bearer-token body for recipient operations. */ const InviteLinkTokenRequest: z.ZodMiniObject<{ token: z.ZodMiniString; }, z.core.$strip>; /** Public active-link summary. */ const ResolveResponse: z.ZodMiniObject<{ orgName: z.ZodMiniString; role: z.ZodMiniLiteral<"member">; }, z.core.$strip>; /** Successful acceptance. */ const AcceptResponse: z.ZodMiniObject<{ orgId: z.ZodMiniString; role: z.ZodMiniLiteral<"member">; userId: z.ZodMiniString; }, z.core.$strip>; /** Link collection response. */ const ListResponse: z.ZodMiniObject<{ data: z.ZodMiniArray>>>; createdAt: z.ZodMiniISODateTime; createdBy: z.ZodMiniString; enabled: z.ZodMiniBoolean; expiresAt: z.ZodMiniNullable; id: z.ZodMiniString; lastUsedAt: z.ZodMiniNullable; maxUses: z.ZodMiniNullable>; name: z.ZodMiniString; orgId: z.ZodMiniString; role: z.ZodMiniLiteral<"member">; status: z.ZodMiniEnum<{ active: "active"; deleted: "deleted"; disabled: "disabled"; exhausted: "exhausted"; expired: "expired"; }>; token: z.ZodMiniString; updatedAt: z.ZodMiniISODateTime; useCount: z.ZodMiniNumber; }, z.core.$strip>>; }, z.core.$strip>; /** Redemption collection response. */ const RedemptionsResponse: z.ZodMiniObject<{ data: z.ZodMiniArray; inviteLinkId: z.ZodMiniString; inviteLinkName: z.ZodMiniString; orgId: z.ZodMiniString; userId: z.ZodMiniString; }, z.core.$strip>>; }, z.core.$strip>; /** Path parameters addressing an organization's invite links. */ const Params: z.ZodMiniObject<{ orgId: z.ZodMiniString; }, z.core.$strip>; /** Path parameters addressing one organization invite link. */ const LinkParams: z.ZodMiniObject<{ inviteLinkId: z.ZodMiniString; orgId: z.ZodMiniString; }, z.core.$strip>; /** Delete confirmation. */ const DeleteResponse: z.ZodMiniObject<{ id: z.ZodMiniString; }, z.core.$strip>; } /** Mounts reusable invite-link management and recipient operations. */ export declare function inviteLinks(): import("hono/hono-base").HonoBase; //# sourceMappingURL=invite-links.d.ts.map