export interface RPCResponse {
    id: number | null;
    result?: Record<string, unknown>;
    error?: {
        code: string;
        message: string;
    };
}
export interface ComputerClient {
    call(method: string, params?: Record<string, unknown>): Promise<RPCResponse>;
    close(): Promise<void>;
}
export declare function resolveSocketPath(): string;
export declare function resolveLogPath(): string;
export declare function resolvePolicyPath(): string;
export declare function loadComputerAllowList(): string[];
export declare function writeComputerPolicy(allowedBundleIds: string[]): void;
export declare function resolvePeersPath(): string;
export declare function loadDefaultPeers(): string[];
export declare function writeComputerPeers(allowedExecPaths: string[]): void;
export declare function resolveHelperExec(): string | null;
export declare function resolveHelperApp(): string | null;
export declare function resolveTcpEndpoint(): {
    host: string;
    port: number;
    token: string | null;
} | null;
export declare function resolveVncEndpoint(): {
    host: string;
    port: number;
    password: string;
} | null;
export declare function openComputerClient(): ComputerClient;
export declare const RPC_TIMEOUT_MS = 30000;
export declare function resolveRpcTimeoutMs(env: string | undefined): number;
export declare function describeTransport(): {
    kind: 'socket' | 'stdio' | 'tcp' | 'vnc' | 'none';
    path: string | null;
};
