UNPKG

@microsoft/kiota

Version:

npm package exposing Kiota CLI functionality to TypeScript

14 lines (13 loc) 686 B
import { PluginManifestResult } from "../types"; export interface GetPluginManifestOptions { descriptionPath: string; } /** * Shows the Kiota result based on the provided options. * * @param {KiotaResultOptions} options - The options to configure the Kiota result. * @param {string} options.descriptionPath - The path to the manifest file. * @returns {Promise<PluginManifestResult | undefined>} A promise that resolves to the result or undefined if an error occurs. * @throws {Error} Throws an error if the result is an instance of Error. */ export declare function getPluginManifest({ descriptionPath }: GetPluginManifestOptions): Promise<PluginManifestResult | undefined>;