import { type DesktopIpcTransport } from "./desktop-types.js"; /** A private parent prevents another OS user replacing a trusted socket path. */ export declare function readDesktopSocketIdentity(socketPath: string): string; /** Desktop's private IPC uses a uint32 little-endian length followed by UTF-8 JSON. */ export declare class DesktopFrameDecoder { private buffered; push(chunk: Buffer): unknown[]; } export declare function encodeDesktopFrame(message: Record): Buffer; export declare function connectDesktopIpcTransport(options: { socketPath: string; timeoutMs: number; }): Promise;