import JSZip from 'jszip'; export declare const RELATIONSHIP_TYPES: { readonly START_PART: "http://schemas.microsoft.com/3dmanufacturing/2013/01/3dmodel"; readonly THUMBNAIL: "http://schemas.openxmlformats.org/package/2006/relationships/metadata/thumbnail"; readonly PRINT_TICKET: "http://schemas.microsoft.com/3dmanufacturing/2013/01/printticket"; readonly MUST_PRESERVE: "http://schemas.openxmlformats.org/package/2006/relationships/mustpreserve"; }; /** * Represents a relationship between parts in the package */ export interface Relationship { id: string; type: string; target: string; targetMode?: string; } /** * Maps relationship IDs to relationship objects */ export interface RelationshipMap { byId: Map; byType: Map; all: Relationship[]; } /** * Parses _rels/.rels to extract package-level relationships * @param zip JSZip instance of the opened archive */ export declare function getRelationships(zip: JSZip): Promise; /** * Gets the start part path from the relationship map * @param relationshipMap Relationship map from getRelationships() */ export declare function getStartPartPath(relationshipMap: RelationshipMap): string; /** * Gets all relationships of a specific type * @param relationshipMap Relationship map from getRelationships() * @param type Relationship type to find */ export declare function getRelationshipsByType(relationshipMap: RelationshipMap, type: string): Relationship[]; //# sourceMappingURL=relationships.d.ts.map