export declare const SANDBOX_ERROR = "__poveste:sandbox-error"; export interface StoryError { message: string; stack?: string | undefined; /** * Which occupant threw. A warm realm is retargeted rather than reloaded * (#240), so the host has to reject a report from the previous one. */ storyId?: string | undefined; variantId?: string | undefined; } export declare function toStoryError(error: unknown): Pick; export declare function reportStoryError(error: unknown, occupant?: Pick): void;