import type { CompilationDependencyChange } from './compilation-scope-graph.js';
import type { CompilationResult, SourceScope } from './types.js';
export interface CompilationDependencyScopeEntry {
    latest?: Pick<CompilationResult, 'graphNodes'> | undefined;
    scope: SourceScope;
}
export declare class CompilationDependencyState {
    private readonly revisions;
    getAffectedScopes(entries: Iterable<CompilationDependencyScopeEntry>, changes: Iterable<CompilationDependencyChange>): Set<string>;
    getAffectedScopeChanges(entries: Iterable<CompilationDependencyScopeEntry>, changes: Iterable<CompilationDependencyChange>): Map<string, CompilationDependencyChange[]>;
    record(entries: Iterable<CompilationDependencyScopeEntry>, changes: Iterable<CompilationDependencyChange>): Set<string>;
    recordScopes(scopeIds: Iterable<string>): void;
    getRevision(scopeId: string): number;
    delete(scopeId: string): void;
    clear(): void;
}
