/*! * Copyright (C) Microsoft Corporation. All rights reserved. */ import { type Channel } from '@microsoft/managed-apps-common/communication'; /** * Get or create the App SDK's dedicated channel to the host. * * When `window.__platformBridge` is available (runtime — bridge script injected * by the gateway), the bridge's `initialize()` method creates the channel. * * When the bridge is absent (authoring — no bridge script), the SDK falls back * to creating a MessageChannel directly and transferring a port to the host * via `window.parent.postMessage`. * * The channel is cached — subsequent calls return the same instance. */ export declare function getSdkChannel(): Promise; //# sourceMappingURL=sdkChannel.d.ts.map