import type { StorageFolder } from '../attachment-storage.service.js';
export declare const DECISION_ATTACHMENT_MAX_COUNT = 5;
export declare const DECISION_ATTACHMENT_MAX_FILE_MB = 10;
export declare const DECISION_ATTACHMENT_MAX_TOTAL_MB = 15;
export declare const DECISION_ATTACHMENT_MAX_FILE_BYTES: number;
export declare const DECISION_ATTACHMENT_MAX_TOTAL_BYTES: number;
export declare const DECISION_ATTACHMENT_FILE_NAME_MAX = 200;
export declare const DECISION_ATTACHMENT_DETECTED_MIMES: string[];
export interface AttachmentType {
    extension: string;
    contentType: string;
}
export declare function getDecisionEmailFolder(submissionId: number): StorageFolder;
export declare function cleanAttachmentFileName(rawName: string): string;
export declare function getFileExtension(fileName: string): string;
export declare function resolveAttachmentType(fileName: string, detectedMime: string | null): AttachmentType | null;
export declare function getFileTypeError(fileName: string): string;
export declare function getFileSizeError(fileName: string, sizeBytes: number): string | null;
export declare function getAttachmentLimitsError(existingSizes: number[], newSizes: number[]): string | null;
export declare function buildAttachmentDisposition(fileName: string): string;
