import { AutoBeAnalyze } from "@autobe/interface";
import { IAnalysisSectionEntry } from "../structures/IAnalysisSectionEntry";
/**
 * Converts an array of analysis files into a flat array of section entries.
 *
 * Walks the `AutoBeAnalyze.IFile.module.units[].sections[]` hierarchy and
 * produces a flat list with sequential integer IDs for LLM retrieval.
 *
 * Uses referential equality memoization: when the same `files` array reference
 * is passed again (common during downstream phases where `state.analyze.files`
 * is immutable), the cached result is returned immediately.
 *
 * @param files - Analysis files with structured module hierarchy
 * @returns Flat array of section entries with sequential IDs starting from 0
 */
export declare function convertToSectionEntries(files: AutoBeAnalyze.IFile[]): IAnalysisSectionEntry[];
export declare function clearSectionEntriesCache(): void;
