import { FxError } from "@microsoft/teamsfx-api"; import { Result } from "neverthrow"; export declare const MCP_DCR_WELL_KNOWN_URL_PLACEHOLDER = ""; /** * Placeholders for a static `oauth` action whose authorization / token URLs could not be * discovered. `identityProvider: Custom` is unusable without both, and omitting the fields * hides the gap; the placeholders make it visible and editable. */ export declare const MCP_OAUTH_AUTHORIZATION_URL_PLACEHOLDER = ""; export declare const MCP_OAUTH_TOKEN_URL_PLACEHOLDER = ""; export interface ResolvedMCPAuthEndpoints { authorizationUrl?: string; tokenUrl?: string; refreshUrl?: string; wellKnownUrl?: string; } export interface MCPAuthActionArgs { authType: string; authName: string; registrationId: string; mcpServerUrl: string; endpoints: ResolvedMCPAuthEndpoints; credentialEnvNames?: { clientId: string; clientSecret?: string; scope?: string; }; } export interface MCPAuthActionResult { yaml: string; wellKnownUrlPlaceholderUsed: boolean; oauthUrlPlaceholderUsed: boolean; } /** Add an MCP auth provision action while preserving the surrounding YAML document. */ export declare function injectMcpAuthActionYaml(yaml: string, args: MCPAuthActionArgs): Result; //# sourceMappingURL=mcpAuthAction.d.ts.map