export type OpcRelationshipTargetMode = 'Internal' | 'External'; export type OpcRelationshipTargetIssue = 'empty_target' | 'invalid_target_mode' | 'external_target_not_allowed' | 'invalid_encoding' | 'unsafe_target' | 'package_escape' | 'empty_resolved_target' | 'invalid_external_target'; export declare class OpcRelationshipTargetError extends Error { readonly issue: OpcRelationshipTargetIssue; constructor(issue: OpcRelationshipTargetIssue, message: string); } export interface NormalizeOpcRelationshipTargetOptions { ownerPart: string; target: string; targetMode?: string | null; allowExternal?: boolean; } export interface NormalizedOpcRelationshipTarget { mode: OpcRelationshipTargetMode; target: string; } /** * Normalize one OPC relationship target under SafeDocX package-containment * policy. Internal targets are decoded once, checked for ambiguous or unsafe * URI/path forms, and resolved relative to the owning part. External targets * are accepted only when the caller opts in. */ export declare function normalizeOpcRelationshipTarget(options: NormalizeOpcRelationshipTargetOptions): NormalizedOpcRelationshipTarget; //# sourceMappingURL=opc-target.d.ts.map