gazeplotter
Version:
Gazeplotter is a Svelte application for visualizing eye-tracking data.
15 lines (14 loc) • 515 B
TypeScript
import type { EyeSettingsType } from '../../../type/Settings/EyeSettings/EyeSettingsType.js';
/**
* Splits a string chunks produced by EyeParser into rows and columns.
*
* It can happen that a row is split into multiple chunks, so we need to
* keep track of the last row and append the next chunk to it.
*/
export declare class EyeSplitter {
readonly rowDelimiter: string;
lastRow: string;
constructor(settings: EyeSettingsType);
splitChunk(chunk: string): string[];
release(): string[];
}