import { Dialog, FxError, SolutionContext, PluginContext, TeamsAppManifest, ResultAsync } from "@microsoft/teamsfx-api"; import { TokenCredentialsBase } from "@azure/ms-rest-nodeauth"; /** * Ask for user input * * @param dialog communication channel to the core module * @param description description of the question. */ export declare function askWithoutDefaultAnswer(description: string, dialog?: Dialog): ResultAsync; /** * Ask for user input with a context T for better compose-ability. * * @param dialog communication channel to the core module * @param description description of the question. * @param t the context that will be carried with the answer. */ export declare function askWithoutDefaultAnswerWith(description: string, t: T, dialog?: Dialog): ResultAsync<[string, T], FxError>; /** * A helper function to construct a plugin's context. * @param solutionCtx solution context * @param pluginIdentifier plugin name */ export declare function getPluginContext(solutionCtx: SolutionContext, pluginIdentifier: string, manifest?: TeamsAppManifest): PluginContext; /** * A curry-ed version of getPluginContext * @param solutionCtx solution context */ export declare function getPluginContextConstructor(solutionCtx: SolutionContext): (pluginIdentifier: string) => PluginContext; export declare function getSubsriptionDisplayName(azureToken: TokenCredentialsBase, subscriptionId: string): Promise; //# sourceMappingURL=util.d.ts.map