/**
 * RuntimeStateStore — adapter wrapping WarpRuntime's cached state fields.
 *
 * Backs MaterializedStateStore with the _cachedState, stateHash, and
 * adjacency fields that live on WarpRuntime.
 */
import MaterializedStateStore from '../capabilities/MaterializedStateStore.ts';
import MaterializedSnapshot from '../capabilities/MaterializedSnapshot.ts';
import AdjacencyMap from '../capabilities/AdjacencyMap.ts';
import type { WarpState } from '../services/JoinReducer.ts';
import type { NeighborEdge } from '../../ports/NeighborProviderPort.ts';
type RuntimeAdjacencyShape = {
    outgoing: Map<string, NeighborEdge[]> | ReadonlyMap<string, readonly NeighborEdge[]>;
    incoming: Map<string, NeighborEdge[]> | ReadonlyMap<string, readonly NeighborEdge[]>;
};
type RuntimeMaterializedGraph = {
    state: WarpState;
    stateHash: string;
    adjacency: RuntimeAdjacencyShape;
};
type RuntimeStateStoreHost = {
    _cachedState: WarpState | null;
    _stateDirty: boolean;
    _materializedGraph: RuntimeMaterializedGraph | null;
};
export default class RuntimeStateStore extends MaterializedStateStore {
    private readonly _runtime;
    constructor(runtime: RuntimeStateStoreHost);
    get(): MaterializedSnapshot | null;
    set(state: WarpState, stateHash: string | null, adjacency: AdjacencyMap): void;
    clear(): void;
}
export {};
