import type { SessionRequest, SessionResponse, SessionTransport } from "./recording.js"; interface ServiceResponse { version: number; id: number; exitCode: number; standardOutput: string; standardError: string; session?: SessionResponse | null; } export interface ScreenyAppTransportOptions { socketPath?: string; bundleIdentifier?: string; startupTimeoutMs?: number; launchApplication?: () => Promise; } export declare class ScreenyAppTransport implements SessionTransport { private readonly socketPath; private readonly bundleIdentifier; private readonly startupTimeoutMs; private readonly launchApplication; private nextId; private launched; private closed; constructor(options?: ScreenyAppTransportOptions); request(request: SessionRequest): Promise; command(command: string, arguments_?: string[]): Promise; close(): Promise; private exchange; } export {}; //# sourceMappingURL=transport.d.ts.map