import { type AttachmentArchiveType } from "@superblocksteam/shared";
import type { Clark, ClarkStateHandlerParams } from "../../../state-machine/clark-fsm.js";
type DownloadResult = {
    attachmentId: number;
    fileName: string;
    mediaType: string;
    scopeType: "org" | "app";
    archiveType?: AttachmentArchiveType;
    downloadPath: string;
    extracted: boolean;
    extractedFilesCount?: number;
    workingPath: string;
};
type DownloadFailure = {
    attachmentId?: number;
    error: string;
    fileName?: string;
    storageKey?: string;
};
export declare const downloadAttachmentsToolFactory: import("../types.js").ToolFactory<{
    clark: Clark;
    services: ClarkStateHandlerParams;
}, import("../types.js").Tool<{
    attachmentIds?: number[] | undefined;
    storageKeys?: string[] | undefined;
}, {
    downloads: DownloadResult[];
    failures: DownloadFailure[];
    count: number;
    rootPath: string;
}>>;
export {};
//# sourceMappingURL=download-attachments.d.ts.map