@hangtime/grip-connect-cli
Version:
CLI tool for Grip Connect devices
17 lines • 525 B
TypeScript
import babar from "babar";
type Options = NonNullable<Parameters<typeof babar>[1]>;
/**
* Creates a chart renderer that buffers force values and redraws a babar bar chart.
* Only active when TTY, not in JSON mode, and disabled is false.
*/
export declare function createChartRenderer(options?: Partial<Options> & {
bufferSize?: number;
redrawMs?: number;
disabled?: boolean;
}): {
push: (value: number) => void;
start: () => void;
stop: () => void;
};
export {};
//# sourceMappingURL=chart.d.ts.map