import type { HistoireTarget } from '@histoire/protocol'; import type { HistoireSession } from '@histoire/sdk'; /** Last rendered standalone content may remain visible while its actor loses all authority. */ export declare function createStalePreview(iframe: HTMLIFrameElement, standalone?: boolean): { /** Retained pixels never imply a valid runtime document. */ readonly retained: boolean; /** Capture metadata only after selected actor has actually rendered. */ remember(snapshot: ReturnType, target: HistoireTarget): void; retain: (snapshot: ReturnType, target: HistoireTarget | null) => boolean; /** Replacement navigation restores input only after minting a fresh document owner. */ restore(): void; /** Source publication aborts tests before publishing diagnostics; inspect its settled snapshot. */ retireAfterCancellation(getSnapshot: HistoireSession['getSnapshot'], target: HistoireTarget | null, active: () => boolean, finish: (keepFrame: boolean) => void): void; };