/** * Relationships check. * * For every `.rels` file in the package we verify: * - The root element is `` and children are ``. * - Each rel has `Id`, `Type`, and `Target` attributes. * - Relationship `Id` values are unique within the same rels file. * - Non-external targets resolve to files that exist inside the package. * - Resolved targets stay inside the package root (no `..` escape). * - For well-known rel types, the resolved target matches the expected * part-name pattern (e.g. a `Type=...relationships/chart` rel must * point at `xl/charts/chartN.xml`). * - Every non-root rels file has a corresponding source part in the zip. * - The package root rels include an officeDocument rel to `xl/workbook.xml`. */ import type { ValidationContext } from "./context.js"; export declare function checkRootRelationships(ctx: ValidationContext): void; export declare function checkRelationships(ctx: ValidationContext): void;