import { FileType } from '../components/OnyxFileUpload/types.js'; /** * Validates the file type against the given accept list. * Only performs a basic check based on the file extensions or media type. * * @param file The file to validate. * @param accept The accepted file types as array. * @returns `true` if the file type is accepted, `false` otherwise. */ export declare const validateFileType: ({ name: _name, type: _type }: File, accept?: FileType[]) => boolean;