mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-22 06:57:49 +00:00
9decea1d3b
Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
18 lines
298 B
TypeScript
18 lines
298 B
TypeScript
declare module 'blinking' {
|
|
interface Pattern {
|
|
blinks?: number;
|
|
onDuration?: number;
|
|
offDuration?: number;
|
|
pause?: number;
|
|
}
|
|
|
|
interface Blink {
|
|
start: (pattern?: Pattern) => void;
|
|
stop: () => void;
|
|
}
|
|
|
|
function blinking(ledFile: string): { pattern: Blink };
|
|
|
|
export = blinking;
|
|
}
|