import type { ResourceRef } from './types.js'; import { ZipPackage } from './zip.js'; export interface OpcRelationship { id: string; type: string; target: string; targetMode?: string; source: string; resolvedTarget: string; } export interface ContentTypeOverride { partName: string; contentType: string; } export interface OpcPackageView { zip: ZipPackage; contentTypes: Map; defaults: Map; overrides: ContentTypeOverride[]; relationships: Map; resources: ResourceRef[]; readText(path: string): Promise; readBytes(path: string): Promise; getContentType(path: string): string | undefined; getRelationships(sourcePath?: string): Promise; } export declare function createOpcView(zip: ZipPackage): Promise; export declare function relationshipPartName(sourcePath: string): string;