import type { AgentEngine, EngineSendOptions } from './engine.js';
interface OpenCodeBridgeConfig {
    baseUrl?: string;
    timeoutMs?: number;
}
export declare class OpenCodeBridge implements AgentEngine {
    readonly type: "opencode";
    private activeSessions;
    private timeoutMs;
    private baseUrl;
    private authHeader;
    constructor(config?: OpenCodeBridgeConfig);
    private fetch;
    private createSession;
    private pollStream;
    send(opts: EngineSendOptions): void;
    isActive(squadName: string): boolean;
    kill(squadName: string): void;
}
export {};
//# sourceMappingURL=opencode-bridge.d.ts.map