import { AllowedMimeType } from '../constants/attachment';
export declare class AttachmentValidator {
    private readonly logger;
    validateMimeHeader(declaredMime: string): AllowedMimeType;
    validateSize(size: number): void;
    validateMagicBytes(tmpPath: string, declaredMime: string): Promise<void>;
}
