export interface DebugSource { getSnapshot(): T; subscribe(listener: () => void): () => void; } export interface StateAdapter extends DebugSource { id: string; }