/** * Attachment get operation */ import type { ILibrary, IdentifierType } from "../../../core/library-interface.js"; /** * Options for getAttachment operation */ export interface GetAttachmentOptions { /** Reference identifier */ identifier: string; /** Filename to get */ filename?: string; /** Get by role instead of filename */ role?: string; /** Identifier type */ idType?: IdentifierType; /** Output content to stdout */ stdout?: boolean; /** Base directory for attachments */ attachmentsDirectory: string; } /** * Result of getAttachment operation */ export interface GetAttachmentResult { success: boolean; path?: string; content?: Buffer; error?: string; } /** * Get an attachment file path or content */ export declare function getAttachment(library: ILibrary, options: GetAttachmentOptions): Promise; //# sourceMappingURL=get.d.ts.map