import { AssistantPreviewController } from './types'; /** The controller an `AssistantPreviewBridgeHost` above bridges, or null. */ export declare const HostedPreviewBridgeContext: import('react').Context; /** * The controller an ancestor already runs the bridge for, or null when none * does. */ export declare function useHostedAssistantPreviewBridge(): AssistantPreviewController | null; /** * The controller the PANEL should run its own bridge for: its `preview`, unless * a host above it already runs the bridge for that very controller. * * ★ Identity, not presence. A host bridging controller A says nothing about a * panel handed controller B; B still needs a bridge, and only the panel has it. */ export declare function panelOwnedPreviewBridge(preview: AssistantPreviewController | null | undefined, hosted: AssistantPreviewController | null): AssistantPreviewController | null; //# sourceMappingURL=bridgeHostContext.d.ts.map