import { AcceptedFile, FileHandler, ResolvedFileEntity } from './FileHandler';
import { EntityAccessor, Environment, SugaredFieldProps } from '@contember/react-binding';
import { ReactElement } from 'react';
import { AcceptFileOptions, FullFileKind } from '../fileKinds';
export declare const isEmptyByUrlField: (urlField: SugaredFieldProps['field']) => (accessor: EntityAccessor) => boolean;
export declare class SingleKindFileHandler implements FileHandler {
    private kind;
    private isEmpty;
    readonly hasBaseEntity: boolean;
    constructor(kind: FullFileKind<any, any>, isEmpty: (accessor: EntityAccessor) => boolean);
    get acceptedMimes(): string | string[] | null;
    acceptFile(fileOptions: AcceptFileOptions): Promise<AcceptedFile | undefined>;
    staticRender(environment: Environment): ReactElement;
    resolveEntity(parentEntity: EntityAccessor): ResolvedFileEntity;
    private resolveFileEntity;
}
//# sourceMappingURL=SingleKindFileHandler.d.ts.map