/*! * Copyright (C) Microsoft Corporation. All rights reserved. */ import { type HttpSendParams, type HttpSendResult } from '@microsoft/managed-apps-common/communication'; /** * Send an HTTP request through the host's JSON-RPC channel. * * The host validates the URL against resolved connection origins, injects * the appropriate Authorization header via its auth middleware, and runs * the request through retry/circuit-breaker/tracking middleware. Network * metrics are reported automatically — the SDK does not need to track them. * * Binary request bodies should be passed as base64 with `bodyEncoding: 'base64'`. * Binary response bodies arrive base64-encoded with `bodyEncoding: 'base64'`. */ export declare function sendHttpRequest(params: HttpSendParams): Promise; //# sourceMappingURL=sendHttpRequest.d.ts.map