import { z } from "zod"; /** * Org-scoped team representation. Teams are arbitrary named groups of * organization members; membership grants no permissions. */ export declare const TeamSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; createdAt: z.ZodString; memberCount: z.ZodNumber; }, z.core.$strip>; export type Team = z.infer; /** * Team member representation with joined user profile data. */ export declare const TeamMemberSchema: z.ZodObject<{ userId: z.ZodString; name: z.ZodNullable; email: z.ZodString; addedAt: z.ZodString; }, z.core.$strip>; export type TeamMember = z.infer; export declare const ListTeamsInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; export type ListTeamsInput = z.infer; export declare const ListTeamsOutputSchema: z.ZodObject<{ teams: z.ZodArray; createdAt: z.ZodString; memberCount: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; export type ListTeamsOutput = z.infer; export declare const CreateTeamInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; }, z.core.$strip>; export type CreateTeamInput = z.infer; export declare const CreateTeamOutputSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; export type CreateTeamOutput = z.infer; export declare const UpdateTeamInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; teamId: z.ZodString; name: z.ZodOptional; description: z.ZodOptional>; }, z.core.$strip>; export type UpdateTeamInput = z.infer; export declare const UpdateTeamOutputSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; export type UpdateTeamOutput = z.infer; export declare const DeleteTeamInputSchema: z.ZodPipe; query: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ teamId: string; organizationId?: string | undefined; }, { params: { teamId: string; }; query: { organizationId?: string | undefined; }; }>>; export type DeleteTeamInput = z.infer; export declare const DeleteTeamOutputSchema: z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>; export type DeleteTeamOutput = z.infer; export declare const AddTeamMemberInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; teamId: z.ZodString; userId: z.ZodString; }, z.core.$strip>; export type AddTeamMemberInput = z.infer; export declare const AddTeamMemberOutputSchema: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; export type AddTeamMemberOutput = z.infer; export declare const RemoveTeamMemberInputSchema: z.ZodPipe; query: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ teamId: string; userId: string; organizationId?: string | undefined; }, { params: { teamId: string; userId: string; }; query: { organizationId?: string | undefined; }; }>>; export type RemoveTeamMemberInput = z.infer; export declare const RemoveTeamMemberOutputSchema: z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>; export type RemoveTeamMemberOutput = z.infer; export declare const ListTeamMembersInputSchema: z.ZodObject<{ organizationId: z.ZodOptional; teamId: z.ZodString; }, z.core.$strip>; export type ListTeamMembersInput = z.infer; export declare const ListTeamMembersOutputSchema: z.ZodObject<{ members: z.ZodArray; email: z.ZodString; addedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; export type ListTeamMembersOutput = z.infer; export declare const listTeams: import("../orpc-contracts/index.js").OperationDefinition; }, z.core.$strip>, z.ZodObject<{ teams: z.ZodArray; createdAt: z.ZodString; memberCount: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>, "api">; export declare const createTeam: import("../orpc-contracts/index.js").OperationDefinition; name: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; }, z.core.$strip>, "api">; export declare const updateTeam: import("../orpc-contracts/index.js").OperationDefinition; teamId: z.ZodString; name: z.ZodOptional; description: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; }, z.core.$strip>, "api">; export declare const deleteTeam: import("../orpc-contracts/index.js").OperationDefinition; query: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ teamId: string; organizationId?: string | undefined; }, { params: { teamId: string; }; query: { organizationId?: string | undefined; }; }>>, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, "api">; export declare const addTeamMember: import("../orpc-contracts/index.js").OperationDefinition; teamId: z.ZodString; userId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; }, z.core.$strip>, "api">; export declare const removeTeamMember: import("../orpc-contracts/index.js").OperationDefinition; query: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ teamId: string; userId: string; organizationId?: string | undefined; }, { params: { teamId: string; userId: string; }; query: { organizationId?: string | undefined; }; }>>, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, "api">; export declare const listTeamMembers: import("../orpc-contracts/index.js").OperationDefinition; teamId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ members: z.ZodArray; email: z.ZodString; addedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, "api">; /** * Teams contract tree. */ export declare const teamsContract: { readonly list: import("@orpc/contract").ContractProcedure; }, z.core.$strip>, z.ZodObject<{ teams: z.ZodArray; createdAt: z.ZodString; memberCount: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly create: import("@orpc/contract").ContractProcedure; name: z.ZodString; description: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly update: import("@orpc/contract").ContractProcedure; teamId: z.ZodString; name: z.ZodOptional; description: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly delete: import("@orpc/contract").ContractProcedure; query: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ teamId: string; organizationId?: string | undefined; }, { params: { teamId: string; }; query: { organizationId?: string | undefined; }; }>>, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly addMember: import("@orpc/contract").ContractProcedure; teamId: z.ZodString; userId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly removeMember: import("@orpc/contract").ContractProcedure; query: z.ZodObject<{ organizationId: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ teamId: string; userId: string; organizationId?: string | undefined; }, { params: { teamId: string; userId: string; }; query: { organizationId?: string | undefined; }; }>>, z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; readonly listMembers: import("@orpc/contract").ContractProcedure; teamId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ members: z.ZodArray; email: z.ZodString; addedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>, Record, import("../orpc-contracts/index.js").OperationContractMetadata<"api">>; };