export type Subscriber = (data: T) => void; export declare class PrimitiveState { private subscribers; private state; private initialState; constructor(state: S); get: () => S; set: (newState: S) => void; setPartial: (_s: Partial) => void; reset: () => void; private notifySubscribers; subscribe: (callback: Subscriber) => (() => void); } //# sourceMappingURL=PrimitiveState.d.ts.map