eye-analysis
Version:
Eye Analysis - Browser-based eye tracking and screen recording library for research and experiments
11 lines • 541 B
TypeScript
import type { RecorderAction, RecorderState, StateSubscriber } from "./types";
declare global {
var __eyeAnalysisRecorderState: RecorderState;
var __eyeAnalysisStateSubscribers: Set<StateSubscriber>;
}
export declare const getState: () => RecorderState;
export declare const dispatch: (action: RecorderAction) => void;
export declare const subscribe: (subscriber: StateSubscriber) => (() => void);
export declare const getSubscriberCount: () => number;
export declare const resetState: () => void;
//# sourceMappingURL=state.d.ts.map