import { NonEmptyArray } from '../../../helpers/array-helpers';
import { MediaItemFileType } from '../../Documents/Document.types';
import { MediaItemFile } from '../../Gallery/Gallery/Gallery';
import { MediaItemValidator } from './MediaItemValidator';
type FileSizeValidatorProps = {
    minSize?: number;
    maxSize?: number;
    applicableFileTypes?: NonEmptyArray<MediaItemFileType>;
};
export declare class FileSizeValidator extends MediaItemValidator {
    applicableFileTypes: NonEmptyArray<MediaItemFileType>;
    fileSizeConfig?: FileSizeValidatorProps;
    private resolveValidatePromise?;
    constructor(config: FileSizeValidatorProps);
    validate: (files: MediaItemFile[]) => Promise<MediaItemFile[] | null>;
    private validateMediaItems;
    private validateMediaItem;
}
export {};
