export declare class ActionInjector { static hasActionWithName(provisionNode: any, action: string, name: string, specRelativePath: string): any; static getTeamsAppIdEnvName(provisionNode: any): string | undefined; static generateAuthAction(actionName: string, authName: string, teamsAppIdEnvName: string, specRelativePath: string, envName: string, flow?: string, isMicrosoftEntra?: boolean, enablePKCE?: boolean): any; static injectCreateOAuthAction(ymlPath: string, authName: string, specRelativePath: string, forceToAddNew: boolean, // If it from add plugin, then we will add another CreateOAuthAction isMicrosoftEntra: boolean, enablePKCE?: boolean, registrationId?: string): Promise; static injectCreateAPIKeyAction(ymlPath: string, authName: string, specRelativePath: string, forceToAddNew: boolean, // If it from add plugin, then we will add another CreateApiKeyAction registrationId?: string): Promise; static injectCreateOAuthActionForMCP(ymlPath: string, authType: string, authName: string, registrationId: string, mcpServerUrl: string, authorizationUrl?: string, tokenUrl?: string, refreshUrl?: string, credentialEnvNames?: { clientIdEnvName: string; clientSecretEnvName?: string; scopeEnvName?: string; }): Promise; /** * Inject a `dcr/register` action for MCP `oauth-dynamic` flow. Idempotent on * (action name + configurationId). Writes a single configurationId env var. */ static injectCreateDcrActionForMCP(ymlPath: string, authName: string, registrationId: string, mcpServerUrl: string, wellKnownAuthorizationServer: string): Promise; static findNextAvailableEnvName(baseEnvName: string, existingEnvNames: string[]): string; /** * Ensure the parsed yml document's top-level `version` is at least `minVersion`. * Supports `vX.Y` and `X.Y.Z` formats. No-op when current >= minVersion or * when the version field is missing/unparseable. */ static ensureMinimumYamlVersion(document: any, minVersion: string): void; } export interface AuthActionInjectResult { defaultRegistrationIdEnvName: string | undefined; registrationIdEnvName: string | undefined; } //# sourceMappingURL=actionInjector.d.ts.map