import { FxError, Inputs, UserInteraction } from "@microsoft/teamsfx-api"; import { Result } from "neverthrow"; import { MCPFetchResult } from "../../component/utils/mcpToolFetcher"; import { type ODRServer } from "../../component/utils/odrProvider"; import { SearchOpenAPISpecResult } from "../../common/kiotaClient"; import { OptionsProvider } from "../collectInputs/collectInputs"; import { Answers, DeclarativeLocator } from "../model/dataModel"; /** Gate `csharp` by surface and the .NET flag; other languages pass through. */ export declare function gateLanguagesBySurface(languages: string[], surface: string, flagReader: (name: string) => boolean): string[]; /** Injected provider and feature-flag overrides. */ export interface CreateInputsDeps { /** Override `optionsFrom` providers (e.g. a live `mcp.serverTypes`); merged over the defaults. */ optionsProvider?: Record; /** The feature-flag reader behind `featureFlag('…')` (default: env-backed). */ flagReader?: (name: string) => boolean; /** The host surface (`vscode` / `cli` / `vs`) — gates the `csharp` language axis (default `vscode`). */ surface?: string; /** Full create inputs when the create floor (`folder` / `app-name`) should be appended after Q2. */ inputs?: Inputs; /** Fetch static MCP tools when CLI did not provide a tools file path. */ fetchMcpTools?: (serverUrl: string) => Promise; /** List available local MCP servers for the dynamic MCP create flow. */ listLocalMcpServers?: () => Promise; /** Search public OpenAPI descriptions for the v3-compatible OpenAPI source picker. */ searchOpenAPISpec?: (query: string) => Promise; } /** Run one create template's Q2 over the host surface. */ export declare function runCreateInputs(floorBytes: Buffer, locator: DeclarativeLocator, entryParams: Answers, ui: UserInteraction, deps?: CreateInputsDeps): Promise>; //# sourceMappingURL=createInputs.d.ts.map