import type { AppState } from "../utils.js";
export interface SandboxProcessSnapshot {
    pid: number;
    ppid?: number;
    name: string;
    cmd?: string;
    path?: string;
    cpu?: number;
    memory?: number;
}
interface ListeningSocket {
    pid: number;
    port: number;
}
interface SandboxProcessInspectors {
    listProcesses: () => Promise<SandboxProcessSnapshot[]>;
    listListeningSockets: () => Promise<ListeningSocket[]>;
}
export declare function __setSandboxProcessInspectorsForTests(next: Partial<SandboxProcessInspectors>): void;
export declare function __resetSandboxProcessInspectorsForTests(): void;
export declare function sandboxProcesses(_state: AppState): Promise<import("../utils.js").ApiEnvelope<{
    processes: {
        pid: number;
        ppid: number | undefined;
        name: string;
        cmd: string | undefined;
        path: string | undefined;
        cpu: number | undefined;
        memory: number | undefined;
        ports: number[];
    }[];
}>>;
export {};
//# sourceMappingURL=processes.d.ts.map