declare type Watch = (args: T) => void; declare type Watcher = { set: (watch: Watch) => void; reset: () => void; }; declare type ControlManagerMethods = { start: () => Promise; stop: () => Promise; logs: Watcher; status: Watcher; }; declare type SetupControls = (projectPath: string) => ControlManagerMethods; declare const setupControls: SetupControls; export { setupControls };