balena-cli/typings/rindle.d.ts

14 lines
294 B
TypeScript
Raw Normal View History

declare module 'rindle' {
export function extract(
stream: NodeJS.ReadableStream,
callback: (error: Error, data: string) => void
): void;
export function wait(
stream: {
on(event: string, callback: Function): void;
},
callback: (error: Error, data: string) => void
): void;
}