import { type AttachmentUploadMetadata } from "@superblocksteam/shared";
import type { Logger } from "../util/logger.js";
export interface AttachmentUploadResult {
    fileName: string;
    url: string;
    expirationDate: number;
    mimeType?: string;
    storageKey?: string;
    scopeType?: "org" | "app";
    applicationId?: string;
}
/**
 * Uploads a file to Bucketeer's generic attachments endpoint.
 */
export declare function uploadAttachmentToBucketeer({ applicationId, file, fileName, prefix, metadata, branchId, commitId, useServerUpload, superblocksBaseUrl, jwt, logger, }: {
    applicationId: string;
    file: File | Blob | {
        data: string;
        mimeType: string;
        name?: string;
    };
    fileName?: string;
    prefix?: string;
    metadata?: AttachmentUploadMetadata;
    branchId?: string;
    commitId?: string;
    useServerUpload?: boolean;
    superblocksBaseUrl: string;
    jwt: string;
    logger: Logger;
}): Promise<AttachmentUploadResult>;
//# sourceMappingURL=attachment-upload.d.ts.map