import { z } from 'zod'; export declare const McpOAuthAuthorizationCodeRequestSchema: z.ZodObject<{ request: z.ZodObject<{ clientId: z.ZodString; redirectUri: z.ZodString; resource: z.ZodString; scopes: z.ZodArray, "many">; state: z.ZodString; codeChallenge: z.ZodString; codeChallengeMethod: z.ZodLiteral<"S256">; }, "strip", z.ZodTypeAny, { resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; redirectUri: string; state: string; codeChallenge: string; codeChallengeMethod: "S256"; }, { resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; redirectUri: string; state: string; codeChallenge: string; codeChallengeMethod: "S256"; }>; projectMember: z.ZodObject<{ userId: z.ZodString; projectId: z.ZodString; email: z.ZodOptional; fullName: z.ZodOptional; avatar: z.ZodEffects>, string | undefined, string | null | undefined>; roles: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | undefined; }, { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { request: { resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; redirectUri: string; state: string; codeChallenge: string; codeChallengeMethod: "S256"; }; projectMember: { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | undefined; }; }, { request: { resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; redirectUri: string; state: string; codeChallenge: string; codeChallengeMethod: "S256"; }; projectMember: { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | null | undefined; }; }>; export type McpOAuthAuthorizationCodeRequest = z.infer; export declare const McpOAuthAuthorizationCodeResponseSchema: z.ZodObject<{ code: z.ZodString; clientId: z.ZodString; redirectUri: z.ZodString; resource: z.ZodString; scopes: z.ZodArray, "many">; expiresAt: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; redirectUri: string; expiresAt: string; }, { code: string; resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; redirectUri: string; expiresAt: string; }>; export type McpOAuthAuthorizationCodeResponse = z.infer; export declare const McpOAuthTokenExchangeRequestSchema: z.ZodObject<{ grantType: z.ZodEnum<["authorization_code", "refresh_token"]>; code: z.ZodOptional; refreshToken: z.ZodOptional; clientId: z.ZodString; redirectUri: z.ZodOptional; resource: z.ZodString; codeVerifier: z.ZodOptional; }, "strip", z.ZodTypeAny, { resource: string; clientId: string; grantType: "authorization_code" | "refresh_token"; code?: string | undefined; redirectUri?: string | undefined; refreshToken?: string | undefined; codeVerifier?: string | undefined; }, { resource: string; clientId: string; grantType: "authorization_code" | "refresh_token"; code?: string | undefined; redirectUri?: string | undefined; refreshToken?: string | undefined; codeVerifier?: string | undefined; }>; export type McpOAuthTokenExchangeRequest = z.infer; export declare const McpOAuthTokenExchangeResponseSchema: z.ZodObject<{ access_token: z.ZodString; refresh_token: z.ZodOptional; token_type: z.ZodEnum<["Bearer", "bearer"]>; expires_in: z.ZodNumber; scope: z.ZodString; }, "strip", z.ZodTypeAny, { access_token: string; token_type: "Bearer" | "bearer"; expires_in: number; scope: string; refresh_token?: string | undefined; }, { access_token: string; token_type: "Bearer" | "bearer"; expires_in: number; scope: string; refresh_token?: string | undefined; }>; export type McpOAuthTokenExchangeResponse = z.infer; export declare const McpOAuthTokenVerificationRequestSchema: z.ZodObject<{ token: z.ZodString; resource: z.ZodString; requiredScopes: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { token: string; resource: string; requiredScopes: ("mcp:read" | "mcp:write")[]; }, { token: string; resource: string; requiredScopes: ("mcp:read" | "mcp:write")[]; }>; export type McpOAuthTokenVerificationRequest = z.infer; export declare const McpOAuthTokenVerificationResponseSchema: z.ZodDiscriminatedUnion<"active", [z.ZodObject<{ active: z.ZodLiteral; payload: z.ZodObject<{ userId: z.ZodString; projectId: z.ZodString; email: z.ZodOptional; fullName: z.ZodOptional; avatar: z.ZodEffects>, string | undefined, string | null | undefined>; roles: z.ZodArray, "many">; } & { clientId: z.ZodString; resource: z.ZodString; scopes: z.ZodArray, "many">; authFlow: z.ZodLiteral<"mcp">; }, "strip", z.ZodTypeAny, { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; authFlow: "mcp"; resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | undefined; }, { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; authFlow: "mcp"; resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { active: true; payload: { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; authFlow: "mcp"; resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | undefined; }; }, { active: true; payload: { userId: string; projectId: string; roles: ("admin" | "editor" | "viewer")[]; authFlow: "mcp"; resource: string; clientId: string; scopes: ("mcp:read" | "mcp:write")[]; email?: string | undefined; fullName?: string | undefined; avatar?: string | null | undefined; }; }>, z.ZodObject<{ active: z.ZodLiteral; }, "strip", z.ZodTypeAny, { active: false; }, { active: false; }>]>; export type McpOAuthTokenVerificationResponse = z.infer; //# sourceMappingURL=oauthDto.d.ts.map