import { StateCache } from './StateCache'; import type { Types } from './types'; export declare class EventRegister { private stateCache; private subscribedEvents; constructor(stateCache: StateCache); add(callback: (current: S, prev: Partial) => void, trigger: Types.UpdateKeys | true): () => boolean; triggerUpdated(updatedState?: Partial): void; triggerRefresh(refreshKey?: keyof S | (keyof S)[] | true): void; removeAll(): void; } //# sourceMappingURL=EventRegister.d.ts.map