/** * Truncation notice for export artifacts. * * What broke: this object was built inline in export.ts and spread into the `full` branch only. * `summary` is the DEFAULT format and the one that also prints a stats block, so the most * authoritative-looking artifact was the only one that never admitted it was short: a caller got * `stats.tags: 50` with nothing anywhere saying 50 was a floor. `names_only` had the same gap. * * Pulling it out here is what lets a test assert "every format carries it", and it removes the * per-branch structural weakness that produced the bug in the first place - the envelope is now built * once at the single return, so a fourth format cannot reintroduce it. */ import type { PaginatedResult } from './pagination.js'; /** Spread into an export artifact. EMPTY when nothing was truncated, so a complete export stays * byte-identical to what callers saw before. */ export interface TruncationNotice { incomplete?: true; truncatedCollections?: string[]; /** Per collection, so a caller can resume the ones that were short. A single scalar token cannot * express five independently-paginated collections, which is why the tool takes no pageToken. */ nextPageTokens?: Record; warning?: string; } export declare function buildTruncationNotice(collections: Record>): TruncationNotice; //# sourceMappingURL=exportCompleteness.d.ts.map