UNPKG

@microsoft/agents-m365copilot-core

Version:

Core functionalities for the Microsoft Agents M365 Copilot JavaScript SDK

15 lines 892 B
import { HttpClient, type Middleware } from "@microsoft/kiota-http-fetchlibrary"; import { AgentsM365CopilotTelemetryOption } from "../middleware/index.js"; /** * Specialized version of the HTTP client for the Agents M365 Copilot API that bootstraps telemetry, /me replacement, and other aspects */ export declare class AgentsM365CopilotHttpClient extends HttpClient { /** * Creates a new instance of the AgentsM365CopilotHttpClient class * @param agentsM365CopilotTelemetryOption The options for telemetry * @param customFetch The custom fetch implementation to use * @param middlewares The middlewares to use */ constructor(agentsM365CopilotTelemetryOption: AgentsM365CopilotTelemetryOption, customFetch?: (request: string, init: RequestInit) => Promise<Response>, ...middlewares: Middleware[]); } //# sourceMappingURL=agentsM365CopilotHttpClient.d.ts.map