export interface ManagerPaths { pidFile: string; logFile: string; } export declare function getManagerPaths(): ManagerPaths; export interface BotStatus { running: boolean; pid?: number; uptimeSec?: number; memoryMb?: number; logTail?: string[]; pidFile: string; logFile: string; } export interface StartResult { kind: 'started'; pid: number; logFile: string; } export interface StartFailure { kind: 'already-running' | 'exited-immediately' | 'spawn-failed'; pid?: number; logTail?: string[]; message: string; } export interface StopResult { kind: 'stopped' | 'not-running' | 'force-killed'; pid?: number; } export declare function isRunning(pidFile: string): number | null; export declare function resolveEntrypoint(searchDir?: string, existsCheck?: (path: string) => boolean): string; export declare function start(): Promise; export declare function stop(): Promise; export declare function status(): BotStatus; export declare function parseEtime(etime: string): number | undefined;