aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
21 lines • 591 B
TypeScript
/**
* Eye Tracking Web Worker
* Handles computationally intensive eye tracking calculations off the main thread
*/
interface EyeTrackingMessage {
command: "start" | "stop" | "process";
data?: {
videoFrame?: ImageData;
timestamp?: number;
};
}
interface GazeData {
x: number;
y: number;
confidence: number;
timestamp: number;
}
declare let isTracking: boolean;
declare let processingInterval: ReturnType<typeof setInterval> | null;
declare function processEyeTracking(frame?: ImageData): GazeData;
//# sourceMappingURL=eyeTrackingWorker.d.ts.map