import * as T from '../../../base/lib/types'; import { SubContainer } from '../util/SubContainer'; import { Daemon } from './Daemon'; import { DaemonCommandType } from './Daemons'; /** * This is a wrapper around CommandController that has a state of off, where the command shouldn't be running * and the others state of running, where it will keep a living running command * unlike Daemon, does not restart on success */ export declare class Oneshot | null = SubContainer | null> extends Daemon { static of(): | null>(effects: T.Effects, subcontainer: C, exec: DaemonCommandType) => Oneshot; }