@microsoft/agents-copilotstudio-client
Version:
Microsoft Copilot Studio Client for JavaScript. Copilot Studio Client.
27 lines (26 loc) • 931 B
TypeScript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
/**
* Utility class for generating user agent strings for Copilot Studio client requests.
*/
export declare class UserAgentHelper {
/**
* Generates a user agent string appropriate for the current environment.
* - For browser environments, includes the browser's user agent.
* - For Node.js environments, includes Node version, platform, architecture, and release.
* @returns A user agent string for HTTP headers.
*/
static getProductInfo(): string;
/**
* Gets just the version string without environment details.
* @returns The version string (e.g., "CopilotStudioClient.agents-sdk-js/0.1.0")
*/
static getVersionString(): string;
/**
* Gets the SDK version number.
* @returns The version number (e.g., "0.1.0")
*/
static getVersion(): string;
}