@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
16 lines • 900 B
TypeScript
import type { CompactContentIndex, FrozenIndex, IndexCursor, IndexRow } from "./compact-content-index.ts";
import type { ValueRef } from "./compact-values.ts";
/** At most 128 descriptors; the index owns the surrounding operation lease. */
export declare function readIndexPage(index: Pick<CompactContentIndex<object>, "bases" | "overlays" | "readPage" | "store">, cut: FrozenIndex, cursor?: IndexCursor): Promise<{
rows: {
row: IndexRow;
patch: ValueRef | undefined;
}[];
next: {
cut: FrozenIndex;
after: string;
} | undefined;
}>;
/** Compatibility assembly runs under the index's operation lease; recovery consumes descriptors. */
export declare function readIndexEntries<Row extends object>(index: Pick<CompactContentIndex<Row>, "page" | "values">, cut: FrozenIndex): Promise<Map<string, Row>>;
//# sourceMappingURL=compact-index-traversal.d.ts.map