import type { Agent, AgentSideConnection, AuthenticateRequest, AuthenticateResponse, CancelNotification, InitializeRequest, InitializeResponse, LoadSessionRequest, LoadSessionResponse, NewSessionRequest, NewSessionResponse, PromptRequest, PromptResponse, SetSessionConfigOptionRequest, SetSessionConfigOptionResponse, SetSessionModeRequest, SetSessionModeResponse } from '@agentclientprotocol/sdk';
import type { AcpInitContext } from '../acp/acp-types.js';
export declare class AcpAgent implements Agent {
    private sessions;
    private initContext;
    private conn;
    private appVersion;
    private clientCapabilities?;
    constructor(initContext: AcpInitContext, conn: AgentSideConnection, appVersion?: string);
    initialize(params: InitializeRequest): Promise<InitializeResponse>;
    newSession(params: NewSessionRequest): Promise<NewSessionResponse>;
    loadSession(params: LoadSessionRequest): Promise<LoadSessionResponse>;
    prompt(params: PromptRequest): Promise<PromptResponse>;
    cancel(params: CancelNotification): Promise<void>;
    setSessionMode(params: SetSessionModeRequest): Promise<SetSessionModeResponse>;
    setSessionConfigOption(params: SetSessionConfigOptionRequest): Promise<SetSessionConfigOptionResponse>;
    authenticate(_params: AuthenticateRequest): Promise<AuthenticateResponse>;
    private registerSession;
    private buildModeState;
    private replaySessionHistory;
    private buildConfigOptions;
    private buildSystemPromptForSession;
}
//# sourceMappingURL=acp-agent.d.ts.map