mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 22:23:13 +00:00
18 lines
284 B
TypeScript
18 lines
284 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): Blink;
|
|
|
|
export = blinking;
|
|
}
|