import React from 'react'; import { AlignSpec, Base, ButtonConfig, Color, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, FileFieldConfig, FilePicker, FilePickerListeners, KeyMapConfig, MaskConfig, MenuItemEntry, Model, OverflowTwinConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/gantt'; import { processWidgetContent } from './WrapperHelper.js'; export declare type BryntumFilePickerProps = { adopt?: HTMLElement | string; align?: AlignSpec | string; alignSelf?: string; anchor?: boolean; appendTo?: HTMLElement | string; ariaDescription?: string; ariaLabel?: string; autoUpdateRecord?: boolean; border?: boolean; bubbleEvents?: object; buttonConfig?: ButtonConfig; callOnFunctions?: boolean; catchEventHandlerExceptions?: boolean; centered?: boolean | object; cls?: string | object; color?: Color; column?: number; config?: object; constrainTo?: HTMLElement | Widget | Rectangle; content?: string; contentElementCls?: string | object; dataField?: string; dataset?: Record; defaultBindProperty?: string; defaultFocus?: ((widget: Widget) => boolean) | string; defaults?: ContainerItemConfig; detectCSSCompatibilityIssues?: boolean; disabled?: boolean | 'inert'; dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object; draggable?: boolean | object; elementAttributes?: Record; extraData?: any; fileFieldConfig?: FileFieldConfig; flex?: number | string; floating?: boolean; height?: string | number; hidden?: boolean; hideAnimation?: boolean | object; hideWhenEmpty?: boolean; html?: string | ((widget: Widget) => void) | DomConfig | DomConfig[] | VueConfig | ReactJSX; htmlCls?: string | object; id?: string; ignoreParentReadOnly?: boolean; inputFieldAlign?: 'start' | 'end'; insertBefore?: HTMLElement | string; insertFirst?: HTMLElement | string; itemCls?: string; items?: Record | (ContainerItemConfig | MenuItemEntry | Widget)[]; keyMap?: Record; labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null; labelWidth?: number | null; layout?: string | ContainerLayoutConfig; layoutStyle?: object; lazyItems?: Record | ContainerItemConfig[] | Widget[]; listeners?: FilePickerListeners; localeClass?: typeof Base; localizable?: boolean; localizableProperties?: string[]; margin?: number | string; maskDefaults?: MaskConfig; masked?: boolean | string | MaskConfig; maxHeight?: string | number; maximizeOnMobile?: number | string; maxWidth?: string | number; minHeight?: string | number; minWidth?: string | number; monitorResize?: boolean | object; namedItems?: Record; overflowTwinConfig?: OverflowTwinConfig | null; positioned?: boolean; preventTooltipOnTouch?: boolean; readOnly?: boolean; record?: Model; relayStoreEvents?: boolean; rendition?: string | Record | null; ripple?: boolean | object; role?: string; rootElement?: ShadowRoot | HTMLElement; rtl?: boolean; scrollable?: boolean | ScrollerConfig | Scroller; scrollAction?: 'hide' | 'realign' | null; showAnimation?: boolean | object; showBadge?: boolean; showTooltipWhenDisabled?: boolean; span?: number; strictRecordMapping?: boolean; tab?: boolean | TabConfig; tabBarItems?: ToolbarItems[] | Widget[]; tag?: string; textAlign?: 'left' | 'center' | 'right' | 'start' | 'end'; textContent?: boolean; title?: string; tooltip?: string | TooltipConfig | null; type?: 'filepicker'; ui?: string | object; weight?: number; width?: string | number; x?: number; y?: number; onBeforeDestroy?: ((event: { source: Base; }) => void) | string; onBeforeHide?: ((event: { source: Widget; }) => boolean | void) | string; onBeforeSetRecord?: ((event: { source: Container; record: Model; }) => void) | string; onBeforeShow?: ((event: { source: Widget | any; }) => Promise | boolean | void) | string; onCatchAll?: ((event: { [key: string]: any; type: string; }) => void) | string; onChange?: ((event: { files: FileList; }) => void) | string; onClear?: (() => void) | string; onDestroy?: ((event: { source: Base; }) => void) | string; onDirtyStateChange?: ((event: { source: Container; dirty: boolean; }) => void) | string; onElementCreated?: ((event: { element: HTMLElement; }) => void) | string; onFocusIn?: ((event: { source: Widget; fromElement: HTMLElement; toElement: HTMLElement; fromWidget: Widget; toWidget: Widget; backwards: boolean; }) => void) | string; onFocusOut?: ((event: { source: Widget; fromElement: HTMLElement; toElement: HTMLElement; fromWidget: Widget; toWidget: Widget; backwards: boolean; }) => void) | string; onHide?: ((event: { source: Widget; }) => void) | string; onPaint?: ((event: { source: Widget; firstPaint: boolean; }) => void) | string; onReadOnly?: ((event: { readOnly: boolean; }) => void) | string; onRecompose?: (() => void) | string; onResize?: ((event: { source: Widget; width: number; height: number; oldWidth: number; oldHeight: number; }) => void) | string; onShow?: ((event: { source: Widget; }) => void) | string; }; export declare class BryntumFilePicker extends React.Component { static instanceClass: typeof FilePicker; static instanceName: string; processWidgetContent: typeof processWidgetContent; static configNames: string[]; static propertyConfigNames: string[]; static propertyNames: string[]; instance: FilePicker; element: HTMLElement; componentDidMount(): void; componentWillUnmount(): void; shouldComponentUpdate(nextProps: Readonly, nextState: Readonly<{}>): boolean; render(): React.ReactNode; }