import type { HistoireRuntimeSnapshot } from '@histoire/protocol'; import type { HistoireRequestCapture } from '@histoire/sdk/internal'; import type { EmbedSurfaceContext } from '../surfaces.js'; /** Existing same-origin story sandbox, owned by one parent-backed primary surface. */ export declare function createEmbedRuntimeFrame(context: EmbedSurfaceContext): { /** Rejecting a late highlight result still releases its exact overlay. */ cancelInspection(capture: HistoireRequestCapture): void; /** Empty/docs-only primary owns slot without executing modules. */ readonly ready: Promise; /** Strict runtime methods; selection/settings return null acknowledgment. */ request(command: string, payload: any, capture: HistoireRequestCapture): Promise; /** Mark inactive before removing document and rejecting pending calls. */ close(): void; };