export declare type RPCMethod = "loadMedia"; export declare type RPC = [RPCMethod, any[]]; export interface IDaemonOptions { deviceName: string; appName: string; appOptions: any; /** * If provided, the first item in the array is the * method to call, and the second is an array of * parameters to be applied to it */ rpc?: RPC; } export declare class BabblerDaemon { private opts; static spawn(opts: IDaemonOptions): Promise; constructor(opts: IDaemonOptions); run(): Promise; private findAppCtor; }