import type { SDKMessage } from "@anthropic-ai/claude-agent-sdk";
import type { AgentMetadata, AgentStreamEvent } from "../../agent-sdk-types.js";
export declare class ClaudeSidechainTracker {
    private readonly activeSidechains;
    private readonly getToolInput;
    constructor(input: {
        getToolInput: (toolUseId: string) => AgentMetadata | null | undefined;
    });
    handleMessage(message: SDKMessage, parentToolUseId: string): AgentStreamEvent[];
    delete(toolUseId: string): void;
    clear(): void;
    private updateSubAgentContextFromTaskInput;
    private normalizeSubAgentText;
    private extractSubAgentActionCandidates;
    private appendSubAgentAction;
    private trimSubAgentTail;
    private rebuildSubAgentActionIndex;
    private deriveSubAgentActionSummary;
}
//# sourceMappingURL=sidechain-tracker.d.ts.map