import type { ExtractionData, ExtractionEdge, ExtractionNode, ExtractionSchemaVersion, Hyperedge } from '../../contracts/types.js'; import { type ExtractionLayer } from '../layers/types.js'; import { type ExtractionProvenance } from '../provenance/types.js'; export interface NormalizedExtractionNode extends ExtractionNode { layer: ExtractionLayer; provenance: ExtractionProvenance[]; } export interface NormalizedExtractionEdge extends ExtractionEdge { layer: ExtractionLayer; provenance: ExtractionProvenance[]; } export interface NormalizedHyperedge extends Hyperedge { layer: ExtractionLayer; provenance: ExtractionProvenance[]; } export interface NormalizedExtractionData extends Omit { schema_version: ExtractionSchemaVersion; nodes: NormalizedExtractionNode[]; edges: NormalizedExtractionEdge[]; hyperedges: NormalizedHyperedge[]; } export declare function normalizeExtractionData(extraction: unknown): NormalizedExtractionData;