import type { NotificationMethod, NotificationMethodMap } from "../protocol/notifications.js";
import { AcpServer, type AcpRequestHandler } from "../transport/acp-server.js";
import type { Transport } from "./transport.js";
export declare class StdioAcpProtocolCoordinator {
    private server;
    get active(): boolean;
    init(transport: Transport, handler: AcpRequestHandler, options: {
        verbose: boolean;
    }): void;
    getServer(): AcpServer | null;
    dispatchMessage(message: unknown): void;
    hasSession(sessionId: string): boolean;
    getPermissionSession(sessionId: string): {
        sessionId: string;
        requestPermission: AcpServer["requestPermission"];
    } | undefined;
    emitUpdate<M extends NotificationMethod>(sessionId: string, method: M, params: NotificationMethodMap[M]): boolean;
}
