import React from 'react';
import { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Container, ContainerItemConfig, ContainerLayoutConfig, DomConfig, DurationConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, ResourceView, ResourceViewListeners, Scroller, ScrollerConfig, StateProvider, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
import { processWidgetContent } from './WrapperHelper.js';
export declare type BryntumResourceViewProps = {
    activationKey?: string;
    adopt?: HTMLElement | string;
    align?: AlignSpec | string;
    alignSelf?: string;
    allowDragCreate?: boolean;
    allowDragMove?: boolean;
    allowDragResize?: boolean;
    anchor?: boolean;
    animateTimeShift?: boolean;
    appendTo?: HTMLElement | string;
    ariaDescription?: string;
    ariaLabel?: string;
    autoCreate?: {
        gesture?: string;
        newName?: Function | string;
        step?: string;
        snapType?: 'round' | 'ceil' | 'floor';
        duration?: string;
        startHour?: number;
    } | string | boolean;
    bbar?: (ContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
    bodyCls?: string | object;
    bubbleEvents?: object;
    callOnFunctions?: boolean;
    catchEventHandlerExceptions?: boolean;
    centered?: boolean;
    cls?: string | object;
    collapsed?: boolean;
    collapsible?: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
    color?: string;
    column?: number;
    config?: object;
    constrainTo?: HTMLElement | Widget | Rectangle;
    contentElementCls?: string | object;
    dataField?: string;
    dataset?: Record<string, string>;
    dateFormat?: string | ((date: Date) => string);
    dateSeparator?: string;
    defaultBindProperty?: string;
    defaultFocus?: ((widget: Widget) => boolean) | string;
    defaults?: ContainerItemConfig;
    defaultScrollOptions?: BryntumScrollOptions;
    descriptionFormat?: string | string[] | boolean[] | ((date: Date) => string) | Function[];
    descriptionRenderer?: (view: Widget) => string;
    detectCSSCompatibilityIssues?: boolean;
    disabled?: boolean | 'inert';
    dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
    draggable?: boolean | {
        handleSelector?: string;
    };
    dragUnit?: string;
    drawer?: boolean | {
        side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
        size?: string | number;
        inline?: boolean;
        autoClose: {
            mousedown?: boolean | string;
            focusout?: boolean | string;
            mouseout?: string;
        };
        autoCloseDelay?: number;
    };
    elementAttributes?: Record<string, string | null>;
    eventHeaderRenderer?: ((detail: {
        view: CalendarView;
        eventRecord: EventModel;
        resourceRecord: ResourceModel;
        renderData: {
            style: object;
            cls: object;
            iconStyle: object;
            iconCls: object;
            eventColor: string;
            dataset: object;
            solidBar: boolean;
            bodyColor: string;
        };
        showBullet: boolean;
    }) => DomConfig | DomConfig[] | string | void) | string;
    eventHeight?: number | string;
    eventRenderer?: ((detail: {
        view: CalendarView;
        eventRecord: EventModel;
        resourceRecord: ResourceModel;
        renderData: {
            style: object;
            cls: object;
            iconStyle: object;
            iconCls: object;
            eventColor: string;
            dataset: object;
            solidBar: boolean;
            bodyColor: string;
            showBullet: boolean;
        };
    }) => DomConfig | DomConfig[] | string | void) | string;
    eventSorter?: (lhs: EventModel | EventBar, rhs: EventModel | EventBar) => number;
    extendAllDayEndDay?: boolean;
    extraData?: any;
    filterEventResources?: boolean;
    flex?: number | string;
    floating?: boolean;
    footer?: {
        dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
        html?: string;
        cls?: string;
    } | string;
    getPrimaryResource?: ((eventRecord: EventModel) => ResourceModel) | string;
    header?: string | boolean | PanelHeader;
    height?: string | number;
    hidden?: boolean;
    hideAnimation?: boolean | object;
    hideNonWorkingDays?: boolean;
    hideWhenEmpty?: boolean;
    icon?: string | DomConfig;
    id?: string;
    ignoreParentReadOnly?: boolean;
    includeTimeRanges?: boolean;
    inputFieldAlign?: 'start' | 'end';
    insertBefore?: HTMLElement | string;
    insertFirst?: HTMLElement | string;
    itemCls?: string;
    items?: Record<string, ContainerItemConfig | MenuItemEntry> | (ContainerItemConfig | MenuItemEntry | Widget)[];
    keyMap?: Record<string, KeyMapConfig>;
    labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
    layout?: string | ContainerLayoutConfig;
    layoutStyle?: object;
    lazyItems?: Record<string, ContainerItemConfig> | ContainerItemConfig[] | Widget[];
    listeners?: ResourceViewListeners;
    localeClass?: typeof Base;
    localizable?: boolean;
    localizableProperties?: string[];
    margin?: number | string;
    maskDefaults?: MaskConfig;
    masked?: boolean | string | MaskConfig;
    maxDate?: Date | string;
    maxHeight?: string | number;
    maximizeOnMobile?: number | string;
    maxWidth?: string | number;
    meta?: string | ((resource: ResourceModel) => string);
    minDate?: Date | string;
    minHeight?: string | number;
    minWidth?: string | number;
    monitorResize?: boolean | {
        immediate?: boolean;
    };
    namedItems?: Record<string, ContainerItemConfig>;
    nonWorkingDays?: Record<number, boolean>;
    owner?: Widget | any;
    pastEventCls?: string;
    positioned?: boolean;
    preventTooltipOnTouch?: boolean;
    range?: string | DurationConfig;
    readOnly?: boolean;
    relayStoreEvents?: boolean;
    rendition?: string | Record<string, string> | null;
    resourceImagePath?: string;
    resourceWidth?: number | string;
    responsive?: object;
    responsiveRoot?: boolean;
    responsiveState?: string;
    responsiveTarget?: string | Widget;
    ripple?: boolean | {
        delegate?: string;
        color?: string;
        radius?: number;
        clip?: string;
    };
    rootElement?: ShadowRoot | HTMLElement;
    rtl?: boolean;
    scrollable?: boolean | ScrollerConfig | Scroller;
    scrollAction?: 'hide' | 'realign' | null;
    selectorButton?: ButtonConfig;
    selectorMenuItem?: MenuItemConfig;
    shortDateFormat?: string | ((date: Date) => string);
    shortDateTimeFormat?: string | ((date: Date) => string);
    shortEventCls?: string;
    shortEventDuration?: string | number;
    showAnimation?: boolean | object;
    showAvatars?: boolean;
    showBullet?: boolean | {
        bar?: boolean;
        noBar?: boolean;
    };
    showResourceAvatars?: boolean | string;
    showTooltipWhenDisabled?: boolean;
    span?: number;
    stableResourceOrder?: boolean;
    stateful?: boolean | object | string[];
    statefulEvents?: object | string[];
    stateId?: string;
    stateProvider?: StateProvider;
    strictRecordMapping?: boolean;
    strips?: Record<string, ContainerItemConfig>;
    syncCalendarDate?: boolean;
    syncViewDate?: boolean;
    tab?: boolean | TabConfig;
    tabBarItems?: ToolbarItems[] | Widget[];
    tag?: string;
    tbar?: (ContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
    textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
    timeFormat?: string | ((date: Date) => string);
    title?: string;
    tools?: Record<string, ToolConfig> | null;
    tooltip?: string | TooltipConfig | null;
    trapFocus?: boolean;
    type?: 'resourceview' | 'resource';
    ui?: 'plain' | 'toolbar' | string | object;
    view?: ContainerItemConfig | Record<string, any>;
    viewGap?: string | number;
    weekStartDay?: number;
    weight?: number;
    width?: string | number;
    x?: number;
    y?: number;
    onBeforeAutoCreate?: ((event: {
        domEvent: Event;
        date: Date;
        startDate: Date;
        endDate: Date;
        resourceRecord: ResourceModel;
        view: CalendarView;
    }) => Promise<boolean> | boolean | void) | string;
    onBeforeChangeDate?: ((event: {
        oldDate: Date;
        date: Date;
    }) => Promise<boolean> | boolean | void) | string;
    onBeforeDestroy?: ((event: {
        source: Base;
    }) => void) | string;
    onBeforeHide?: ((event: {
        source: Widget;
    }) => Promise<boolean> | boolean | void) | string;
    onBeforeResponsiveStateChange?: ((event: {
        source: Widget;
        state: string;
        oldState: string;
    }) => void) | string;
    onBeforeSetRecord?: ((event: {
        source: Container;
        record: Model;
    }) => void) | string;
    onBeforeShow?: ((event: {
        source: Widget | any;
    }) => Promise<boolean> | boolean | void) | string;
    onBeforeStateApply?: ((event: {
        state: any;
    }) => Promise<boolean> | boolean | void) | string;
    onBeforeStateSave?: ((event: {
        state: any;
    }) => Promise<boolean> | boolean | void) | string;
    onCatchAll?: ((event: {
        [key: string]: any;
        type: string;
    }) => void) | string;
    onCollapse?: ((event: {
        source: Panel;
    }) => void) | string;
    onDestroy?: ((event: {
        source: Base;
    }) => void) | string;
    onDirtyStateChange?: ((event: {
        source: Container;
        dirty: boolean;
    }) => void) | string;
    onElementCreated?: ((event: {
        element: HTMLElement;
    }) => void) | string;
    onEventAutoCreated?: ((event: {
        source: CalendarView;
        eventRecord: EventModel;
    }) => void) | string;
    onExpand?: ((event: {
        source: Panel;
    }) => 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;
    onRefresh?: ((event: {
        source: ResourceView;
    }) => void) | string;
    onResize?: ((event: {
        source: Widget;
        width: number;
        height: number;
        oldWidth: number;
        oldHeight: number;
    }) => void) | string;
    onResponsiveStateChange?: ((event: {
        source: Widget;
        state: string;
        oldState: string;
    }) => void) | string;
    onShow?: ((event: {
        source: Widget;
    }) => void) | string;
    onToolClick?: ((event: {
        source: Tool;
        tool: Tool;
    }) => void) | string;
    onViewCreate?: ((event: {
        source: ResourceView;
        view: CalendarView;
    }) => void) | string;
};
export declare class BryntumResourceView extends React.Component<BryntumResourceViewProps> {
    static instanceClass: typeof ResourceView;
    static instanceName: string;
    processWidgetContent: typeof processWidgetContent;
    static configNames: string[];
    static propertyConfigNames: string[];
    static propertyNames: string[];
    instance: ResourceView;
    element: HTMLElement;
    componentDidMount(): void;
    componentWillUnmount(): void;
    shouldComponentUpdate(nextProps: Readonly<BryntumResourceViewProps>, nextState: Readonly<{}>): boolean;
    render(): React.ReactNode;
}
