import type { EmbedSourceConnection } from './types.js'; /** Install immediately so descriptor fetch cannot lose initial parent hello. */ export declare function installEmbedHandshake(sourcePromise: Promise, window?: Window): { signal: AbortSignal; close: () => Promise; add(cleanup: () => Promise | void): void; };