UNPKG

@microsoft/kiota

Version:

npm package exposing Kiota CLI functionality to TypeScript

8 lines (7 loc) 385 B
/** * Retrieves the version of Kiota by connecting to the Kiota service. * * @returns {Promise<string | undefined>} A promise that resolves to the Kiota version string if available, otherwise undefined. * @throws {Error} If an error occurs while connecting to the Kiota service or retrieving the version. */ export declare function getKiotaVersion(): Promise<string | undefined>;