/* auto-generated by NAPI-RS */
/* eslint-disable */
export declare class ChildrenWithIPC {
  constructor()
  spawn(program: string, args: Array<string>, timeoutMillis: number, sendToParent: ((err: Error | null, arg0: string, arg1?: Buffer | undefined | null) => void)): Promise<ChildWithIPC>
}
export type JsChildrenWithIPC = ChildrenWithIPC

export declare class ChildWithIPC {
  send(bytes: Buffer): Promise<void>
  exit(): Promise<void>
  get isRunning(): boolean
}
export type JsChildWithIPC = ChildWithIPC

export const CLIENT_CLOSED_EVENT: string

export const CLIENT_STARTED_EVENT: string

export const DATA_EVENT: string
