export interface SnapshotAdapter<T> {
    capture(): T;
    restore(snapshot: T): void;
}
export declare class PlayModeBridge<TSnapshot> {
    private readonly adapter;
    private snapshot?;
    constructor(adapter: SnapshotAdapter<TSnapshot>);
    enter(): void;
    exit({ restore }?: {
        restore?: boolean | undefined;
    }): void;
}
//# sourceMappingURL=PlayModeBridge.d.ts.map