import type { HistoireTarget } from '@histoire/protocol'; /** Reused Explorer mount must never mint an identity retired by an earlier inner wrapper. */ export declare function createRuntimeDocumentId(mountId: string): string; /** Exact sandbox document owner; WindowProxy alone survives navigation. */ export declare function createRuntimeDocumentOwner(): { /** Allocate before navigation; all previous replies become stale immediately. */ replace(id: string, next: HistoireTarget): void; /** Retained documents version new selection intent and replacement actors after reload. */ select(next: HistoireTarget, restarted?: boolean): void; /** Story matches separately from variant; IDs may contain separators. */ accepts(message: { documentId?: string; storyId?: string | null; variantId?: string | null; }, anyVariant?: boolean): boolean; /** Current host intent version, scoped to this exact document. */ readonly selectionVersion: number; /** Runtime identity used by requests and publications. */ readonly id: string; /** Selected structured identity. */ readonly target: HistoireTarget; /** Mark inactive before resource teardown. */ close(): void; };