import { MpvProcessManager } from "./mpv-process.js"; export declare class MpvIPC { private processManager; private socket; private requestId; private pendingRequests; private buffer; constructor(processManager: MpvProcessManager); /** Connect to mpv's named pipe. Ensures mpv is running first. */ connect(): Promise; /** Disconnect from the pipe */ disconnect(): void; /** Send a command to mpv and return the result */ command(args: (string | number | boolean)[]): Promise; /** Shorthand: get a property value */ getProperty(name: string): Promise; /** Shorthand: set a property */ setProperty(name: string, value: string | number | boolean): Promise; /** Process buffered data from the pipe, handling complete JSON lines */ private processBuffer; private handleMessage; private rejectAll; }