import { Recorder, Snapshot } from './types.js';
/**
 * This recorder will
 * - store auto-snapshots (afterDispatch) in memory after every dispatch (for time traveling)
 * - store manual snapshots in memory
 *
 * @category Machine
 */
export declare class MemoryRecorder implements Recorder {
    private autoSnaps;
    private manualSnaps;
    afterDispatch(snapshot: Snapshot): Promise<void>;
    getSnapshots(): Promise<Snapshot[]>;
    createSnapshot(snapshot: Snapshot): Promise<void>;
    loadSnapshot(id?: string | undefined): Promise<Snapshot | null>;
}
