/** Bounded explicit-file impact projection over the canonical contracts compute. */ import { type ComputeImpactChangedFileEntry, type ComputeImpactIndex, type ImpactComputation, type ImpactTrust } from '@opensip-cli/contracts'; import { type Result } from '@opensip-cli/core'; import type { GraphReadFacetCoverage } from './query-contracts.js'; import type { Catalog, GraphReadError } from './types.js'; export declare const MAX_IMPACT_VIEW_FILES = 128; export declare const MAX_IMPACT_VIEW_ROWS = 500; /** Bounded traversal, projection, index-reuse, and cancellation controls for an impact read. */ export interface ImpactViewOptions { readonly maxDepth?: number; readonly top?: number; readonly changedFileEntries?: readonly ComputeImpactChangedFileEntry[]; readonly index?: ComputeImpactIndex; readonly signal?: AbortSignal; } /** Canonical impact computation plus explicit request/coverage context. */ export interface GraphImpactView extends ImpactComputation { readonly requestedFiles: readonly string[]; readonly matchedFiles: readonly string[]; readonly unmatchedFiles: readonly string[]; /** Alias retained for consumers that project trust separately from rows. */ readonly trust: ImpactTrust; readonly coverage: GraphReadFacetCoverage; } /** Build one bounded impact answer without filesystem or persistence access. */ export declare function buildImpactView(catalog: Catalog, files: readonly string[], options?: ImpactViewOptions): Promise>; //# sourceMappingURL=impact-view.d.ts.map