import type { Attachment } from '@doist/comms-sdk'; /** * Validate that every path exists and is readable, without uploading anything. * Used by `--dry-run` so the preview fails on a bad path exactly as a real run * would. Throws `FILE_NOT_FOUND` / `FILE_READ_ERROR` on the first bad path. */ export declare function validateAttachmentFiles(files: string[]): Promise; /** * Upload one or more local files and return the created {@link Attachment}s, * ready to splice into the `attachments` array of `comments.createComment`, * `conversationMessages.createMessage`, or `threads.createThread`. * * All paths are validated (existence + readability) up front, before any * upload starts, so a bad path fails fast without leaving a partial set of * uploaded-but-unreferenced attachments behind. Uploads then run with bounded * concurrency while the returned array preserves the input order. */ export declare function uploadAttachments(files: string[]): Promise; export type { Attachment }; //# sourceMappingURL=attachments.d.ts.map