import { NonEmptyArray } from '../../../helpers/array-helpers';
import { ContentType, MediaItemFileType } from '../../Documents/Document.types';
import { MediaItemFile } from '../../Gallery/Gallery/Gallery';
import { MediaItemValidator } from './MediaItemValidator';
type FileTypeValidatorProps = {
    acceptedTypes: ContentType[];
    applicableFileTypes?: NonEmptyArray<MediaItemFileType>;
};
export declare class FileTypeValidator extends MediaItemValidator {
    applicableFileTypes: NonEmptyArray<MediaItemFileType>;
    fileTypeConfig?: FileTypeValidatorProps;
    private resolveValidatePromise?;
    constructor(config: FileTypeValidatorProps);
    validate: (files: MediaItemFile[]) => Promise<MediaItemFile[] | null>;
    private validateMediaItems;
    private validateMediaItem;
}
export {};
