mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-28 09:38:52 +00:00
56041b98ae
Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>
18 lines
297 B
TypeScript
18 lines
297 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;
|
|
}
|