/** * LocalTransport — direct HTTP communication with a local daemon. * * No auth required for localhost connections (daemon allows loopback by default). * Optionally sends X-API-Key if the daemon is configured with HTTP_API_KEY. */ import http from 'http'; import type { Transport, TransportConfig, TransportResponse } from './types.js'; export declare class LocalTransport implements Transport { private baseUrl; private apiKey?; constructor(config: TransportConfig); private buildHeaders; get(path: string): Promise; post(path: string, body?: any): Promise; put(path: string, body?: any): Promise; patch(path: string, body?: any): Promise; delete(path: string, body?: any): Promise; private request; chatStream(path: string, body: any): Promise; }