import { type WebViewConnectionBridgeMessage } from "./webview-connection-bridge-message.js"; export type CoreWebViewBridgeMessage = WebViewConnectionBridgeMessage; export declare const parseCoreWebViewBridgeMessage: (value: unknown) => CoreWebViewBridgeMessage; export declare const toExternalCoreUrl: (coreUrl: string) => string; export declare const buildCoreWebViewBridgeScript: (input: { bridgeId: string; phase: "documentStart"; } | { bridgeId: string; epoch: number; phase: "afterLoad"; }) => string; export declare const buildCoreWebViewHostMessageScript: (input: { bridgeId: string; connectionId: string; epoch: number; generation: number; message: unknown; }) => string;