/**
 * @license
 * Copyright 2026 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import type { ConcreteNode } from './types.js';
import type { Content } from '@google/genai';
import type { HistoryEvent } from '../../core/agentChatHistory.js';
import type { ContextTokenCalculator } from '../utils/contextTokenCalculator.js';
import type { NodeBehaviorRegistry } from './behaviorRegistry.js';
export declare class ContextGraphMapper {
    private readonly registry;
    private readonly nodeIdentityMap;
    constructor(registry: NodeBehaviorRegistry);
    private builder?;
    applyEvent(event: HistoryEvent, tokenCalculator: ContextTokenCalculator): ConcreteNode[];
    fromGraph(nodes: readonly ConcreteNode[]): Content[];
}
