import React from 'react'; import { AlignSpec, Base, Color, Combo, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, OverflowTwinConfig, Rectangle, TabConfig, TimelineBase, ViewPresetCombo, ViewPresetComboListeners, Widget } from '@bryntum/gantt'; import { processWidgetContent } from './WrapperHelper.js'; export declare type BryntumViewPresetComboProps = { align?: AlignSpec | string; alignSelf?: string; anchor?: boolean; appendTo?: HTMLElement | string; ariaDescription?: string; ariaLabel?: string; badge?: string; bubbleEvents?: object; cacheLastResult?: number | string | Duration | DurationConfig; callOnFunctions?: boolean; catchEventHandlerExceptions?: boolean; centered?: boolean | object; checkValidity?: ((field: Field) => void) | string; clearTextOnSelection?: boolean; clearWhenInputEmpty?: boolean; client?: TimelineBase; cls?: string | object; color?: Color; column?: number; config?: object; constrainTo?: HTMLElement | Widget | Rectangle; contentElementCls?: string | object; dataField?: string; defaultBindProperty?: string; detectCSSCompatibilityIssues?: boolean; disabled?: boolean | 'inert'; dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object; draggable?: boolean | object; editable?: boolean; elementAttributes?: Record; extraData?: any; flex?: number | string; floating?: boolean; height?: string | number; hidden?: boolean; hideAnimation?: boolean | object; hidePickerOnSelect?: boolean; hint?: string | ((data: { source: Field; value: any; }) => string); hintHtml?: string | ((data: { source: Field; value: any; }) => string); id?: string; ignoreParentReadOnly?: boolean; inputAlign?: string; inputAttributes?: Record; inputTag?: string; inputWidth?: string | number; insertBefore?: HTMLElement | string; insertFirst?: HTMLElement | string; keyMap?: Record; label?: string; labelCls?: string | object; labelPosition?: 'before' | 'above' | null; labels?: object[]; labelWidth?: string | number; listCls?: string; listeners?: ViewPresetComboListeners; listItemTpl?: (record: Model) => string | void; 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; name?: string; overflowTwinConfig?: OverflowTwinConfig | null; overlayAnchor?: boolean; pickerWidth?: number | string; positioned?: boolean; presets?: any[]; preventTooltipOnTouch?: boolean; readOnly?: boolean; relayStoreEvents?: boolean; rendition?: 'outlined' | 'filled' | string; ripple?: boolean | object; role?: string; rootElement?: ShadowRoot | HTMLElement; rtl?: boolean; scrollAction?: 'hide' | 'realign' | null; showAnimation?: boolean | object; showRequiredIndicator?: string; showTooltipWhenDisabled?: boolean; skipValidation?: boolean; span?: number; tab?: boolean | TabConfig; tabIndex?: number; textAlign?: 'left' | 'center' | 'right' | 'start' | 'end'; type?: 'viewpresetcombo'; ui?: string | object; useFixedDuration?: boolean; weight?: number; width?: string | number; x?: number; y?: number; onAction?: ((event: { source: Combo; value: any; record: Model; records: Model[]; userAction: boolean; }) => void) | string; onBeforeDestroy?: ((event: { source: Base; }) => void) | string; onBeforeHide?: ((event: { source: Widget; }) => boolean | void) | string; onBeforeShow?: ((event: { source: Widget | any; }) => Promise | boolean | void) | string; onCatchAll?: ((event: { [key: string]: any; type: string; }) => void) | string; onChange?: ((event: { source: Field | any; value: string | number | boolean | any; oldValue: string | number | boolean | any; valid: boolean; event: Event; userAction: boolean; checked: boolean; }) => void) | string; onClear?: ((event: { source: Field | any; }) => void) | string; onDestroy?: ((event: { source: Base; }) => 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; onSelect?: ((event: { source: Combo; record: Model; records: Model[]; userAction: boolean; }) => void) | string; onShow?: ((event: { source: Widget; }) => void) | string; onTrigger?: ((event: { source: Field | any; trigger: Widget; }) => void) | string; }; export declare class BryntumViewPresetCombo extends React.Component { static instanceClass: typeof ViewPresetCombo; static instanceName: string; processWidgetContent: typeof processWidgetContent; static configNames: string[]; static propertyConfigNames: string[]; static propertyNames: string[]; instance: ViewPresetCombo; element: HTMLElement; componentDidMount(): void; componentWillUnmount(): void; shouldComponentUpdate(nextProps: Readonly, nextState: Readonly<{}>): boolean; render(): React.ReactNode; }