/** Canonical persisted reference: xopc-attachment://notes/{noteId}/{attachmentId} */ export declare const NOTE_ATTACHMENT_SCHEME = "xopc-attachment"; export type ParsedNoteAttachmentRef = { noteId: string; attachmentId: string; }; export declare function buildNoteAttachmentRef(noteId: string, attachmentId: string): string; export declare function parseNoteAttachmentTarget(target: string, expectedNoteId?: string): ParsedNoteAttachmentRef | null; export declare function attachmentIdFromTarget(target: string, noteId: string): string | undefined;