/** * Attachment list operation */ import type { ILibrary, IdentifierType } from "../../../core/library-interface.js"; import type { AttachmentFile } from "../../attachments/types.js"; /** * Options for listAttachments operation */ export interface ListAttachmentsOptions { /** Reference identifier */ identifier: string; /** Identifier type */ idType?: IdentifierType; /** Filter by role */ role?: string; /** Base directory for attachments */ attachmentsDirectory: string; } /** * Result of listAttachments operation */ export interface ListAttachmentsResult { success: boolean; directory?: string; files: AttachmentFile[]; error?: string; } /** * List attachments for a reference */ export declare function listAttachments(library: ILibrary, options: ListAttachmentsOptions): Promise; //# sourceMappingURL=list.d.ts.map