import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { MCPAuthType } from "./mcpauthtype.js"; export type McpCredential = { id: string; object: "mcp.credential"; serverId: string; name: string | null; authType: MCPAuthType; authorizationPreview: string | null; headerNames: Array; expiresAt: Date | null; lastUsedAt: Date | null; createdAt: Date; updatedAt: Date; revokedAt: Date | null; }; /** @internal */ export declare const McpCredential$inboundSchema: z.ZodType; /** @internal */ export type McpCredential$Outbound = { id: string; object: "mcp.credential"; server_id: string; name: string | null; auth_type: string; authorization_preview: string | null; header_names: Array; expires_at: string | null; last_used_at: string | null; created_at: string; updated_at: string; revoked_at: string | null; }; /** @internal */ export declare const McpCredential$outboundSchema: z.ZodType; export declare function mcpCredentialToJSON(mcpCredential: McpCredential): string; export declare function mcpCredentialFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mcpcredential.d.ts.map