import { StructureSchema } from '@ephox/boulder'; import type { Optional, Result } from '@ephox/katamari'; import { type FormComponentWithLabel, type FormComponentWithLabelSpec } from './FormComponent'; export interface DropZoneSpec extends FormComponentWithLabelSpec { type: 'dropzone'; context?: string; dropAreaLabel?: string; buttonLabel?: string; allowedFileTypes?: string; allowedFileExtensions?: string[]; onInvalidFiles?: () => Promise; } export interface DropZone extends FormComponentWithLabel { type: 'dropzone'; context: string; dropAreaLabel: Optional; buttonLabel: Optional; allowedFileTypes: Optional; allowedFileExtensions: Optional; onInvalidFiles: () => Promise; } export declare const dropZoneSchema: import("@ephox/boulder").StructureProcessor; export declare const dropZoneDataProcessor: import("@ephox/boulder").StructureProcessor; export declare const createDropZone: (spec: DropZoneSpec) => Result>; //# sourceMappingURL=Dropzone.d.ts.map