import { z } from 'zod'; /** * Transport-neutral auth input extracted at the HTTP boundary. */ export declare const McpAuthInputSchema: z.ZodObject<{ bearerToken: z.ZodOptional; apiKey: z.ZodOptional; telegramHandle: z.ZodOptional; telegramUsername: z.ZodOptional; }, "strict", z.ZodTypeAny, { apiKey?: string | undefined; bearerToken?: string | undefined; telegramHandle?: string | undefined; telegramUsername?: string | undefined; }, { apiKey?: string | undefined; bearerToken?: string | undefined; telegramHandle?: string | undefined; telegramUsername?: string | undefined; }>; export type McpAuthInput = z.infer; /** * Trusted API-key metadata used by the host auth composition. * * Enrollment and delivery flags are explicit opt-ins. Unknown metadata is * ignored so unrelated Better Auth metadata remains forward-compatible. */ export declare const McpApiKeyMetadataSchema: z.ZodObject<{ agentId: z.ZodOptional; enrollmentCapable: z.ZodOptional; isDeliveryAgent: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodOptional; enrollmentCapable: z.ZodOptional; isDeliveryAgent: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodOptional; enrollmentCapable: z.ZodOptional; isDeliveryAgent: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type McpApiKeyMetadata = z.infer; /** * Protocol-owned result boundary for host authentication. */ export declare const McpResolvedIdentitySchema: z.ZodEffects; isSessionAuth: z.ZodOptional; enrollmentCapable: z.ZodOptional; isDeliveryAgent: z.ZodOptional; /** Host-authenticated marker for the dedicated full standalone Hermes audience. */ isHermesAgent: z.ZodOptional; networkScopeId: z.ZodOptional>; }, "strict", z.ZodTypeAny, { userId: string; agentId?: string | undefined; networkScopeId?: string | null | undefined; enrollmentCapable?: boolean | undefined; isDeliveryAgent?: boolean | undefined; isSessionAuth?: boolean | undefined; isHermesAgent?: boolean | undefined; }, { userId: string; agentId?: string | undefined; networkScopeId?: string | null | undefined; enrollmentCapable?: boolean | undefined; isDeliveryAgent?: boolean | undefined; isSessionAuth?: boolean | undefined; isHermesAgent?: boolean | undefined; }>, { userId: string; agentId?: string | undefined; networkScopeId?: string | null | undefined; enrollmentCapable?: boolean | undefined; isDeliveryAgent?: boolean | undefined; isSessionAuth?: boolean | undefined; isHermesAgent?: boolean | undefined; }, { userId: string; agentId?: string | undefined; networkScopeId?: string | null | undefined; enrollmentCapable?: boolean | undefined; isDeliveryAgent?: boolean | undefined; isSessionAuth?: boolean | undefined; isHermesAgent?: boolean | undefined; }>; export type McpResolvedIdentity = z.infer;