UNPKG

@waves/node-state

Version:
11 lines (10 loc) 570 B
/// <reference types="node" /> import { ChildProcessWithoutNullStreams, SpawnOptionsWithoutStdio } from 'child_process'; export declare function broadcastAndWait(tx: any): Promise<any>; declare type TFunc = (...args: Array<any>) => void; export declare const run: (command: string, args: Array<string>, options?: { log?: TFunc | undefined; error?: TFunc | undefined; } | undefined) => ChildProcessWithoutNullStreams; export declare const exec: (command: string, args: Array<string>, options?: SpawnOptionsWithoutStdio | undefined) => Promise<string>; export {};