import React from 'react';
import { AlignSpec, Base, BryntumScrollOptions, ButtonConfig, CalendarView, Container, ContainerItemConfig, ContainerLayoutConfig, DayCell, DomConfig, EventBar, EventModel, KeyMapConfig, MaskConfig, MenuItemConfig, MenuItemEntry, Model, Month, MonthGrid, MonthGridListeners, OverflowPopup, OverflowPopupConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Rectangle, ResourceModel, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/calendar';
import { processWidgetContent } from './WrapperHelper.js';
export declare type BryntumMonthGridProps = {
    activationKey?: string;
    adopt?: HTMLElement | string;
    align?: AlignSpec | string;
    alignSelf?: string;
    anchor?: boolean;
    animateTimeShift?: boolean;
    appendTo?: HTMLElement | string;
    ariaDescription?: string;
    ariaLabel?: string;
    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>;
    date?: Date;
    dateFormat?: string | ((date: Date) => string);
    dateSeparator?: string;
    dayCellNameFormat?: string | ((date: Date) => 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;
    };
    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>;
    emptyCellRenderer?: ((dayCellRenderer: DayCell) => DomConfig | void) | object | string;
    eventFilter?: ((event: EventModel) => boolean) | string;
    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;
            eventBackground: string;
            textColor: string;
            eventInnerStyle: object;
            dataset: object;
            solidBar: boolean;
            bodyColor: string;
            showBullet: boolean;
        };
    }) => DomConfig | DomConfig[] | string | void) | string;
    eventSorter?: (lhs: EventModel | EventBar, rhs: EventModel | EventBar) => number;
    eventSpacing?: 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;
    groupHeaderAriaMonthFormat?: string;
    groupHeaderRenderer?: ((detail: {
        view: MonthGrid;
        eventRecord: Model;
        renderData: {
            style: object;
            cls: object;
            iconStyle: object;
            iconCls: object;
            eventColor: string;
            dataset: object;
        };
    }) => DomConfig | DomConfig[] | string | void) | string;
    header?: string | boolean | PanelHeader;
    headerMonthFormat?: string;
    height?: string | number;
    hidden?: boolean;
    hideAnimation?: boolean | object;
    hideEventScroll?: boolean;
    hideWhenEmpty?: boolean;
    icon?: string | DomConfig;
    id?: string;
    ignoreParentReadOnly?: 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?: MonthGridListeners;
    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;
    minDate?: Date | string;
    minHeight?: string | number;
    minMonthHeight?: number | string;
    minWidth?: string | number;
    monitorResize?: boolean | {
        immediate?: boolean;
    };
    monthEventStore?: StoreConfig;
    monthHeaderRenderer?: ((detail: {
        view: MonthGrid;
        month: Month;
        monthEventCount: number;
        monthEventStore: Store;
    }) => DomConfig | DomConfig[] | string | void) | string;
    namedItems?: Record<string, ContainerItemConfig>;
    overflowButtonRenderer?: (domConfig: {
        tag: string;
        className: object;
        text: string;
        style: object;
        dataset: object;
    }, overflowCount: number) => DomConfig | string | void;
    overflowPopup?: OverflowPopupConfig;
    overflowPopupTrigger?: 'click' | 'mouseover' | 'hover';
    owner?: Widget | any;
    pastEventCls?: string;
    positioned?: boolean;
    preventTooltipOnTouch?: boolean;
    readOnly?: boolean;
    relayStoreEvents?: boolean;
    rendition?: string | Record<string, string> | null;
    resourceImagePath?: 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;
    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;
    showBullet?: boolean | {
        bar?: boolean;
        noBar?: boolean;
    };
    showResourceAvatars?: boolean | string;
    showTooltipWhenDisabled?: boolean;
    span?: number;
    stackMultiDayEvents?: 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;
    title?: string;
    tools?: Record<string, ToolConfig> | null;
    tooltip?: string | TooltipConfig | null;
    trapFocus?: boolean;
    type?: 'monthgrid' | 'yearmonthgrid';
    ui?: 'plain' | 'toolbar' | string | object;
    viewGap?: string | number;
    weekStartDay?: number;
    weight?: number;
    width?: string | number;
    x?: number;
    y?: number;
    year?: 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;
    onBeforeShowOverflowPopup?: ((event: {
        cell: HTMLElement;
        cellData: DayCell;
        date: Date;
        overflowPopup: OverflowPopup;
    }) => 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;
    onCellMapPopulated?: ((event: {
        cellMap: Map<any, any>;
    }) => void) | string;
    onCollapse?: ((event: {
        source: Panel;
    }) => void) | string;
    onColumnCountChange?: ((event: {
        source: MonthGrid;
        columnCount: number;
        oldColumnCount: number;
    }) => void) | string;
    onDayCellPopulated?: ((event: {
        events: EventModel[];
        The: Date;
    }) => void) | string;
    onDestroy?: ((event: {
        source: Base;
    }) => void) | string;
    onDirtyStateChange?: ((event: {
        source: Container;
        dirty: boolean;
    }) => void) | string;
    onElementCreated?: ((event: {
        element: HTMLElement;
    }) => void) | string;
    onEmptyCellClick?: ((event: {
        domEvent: Event;
        date: Date;
    }) => void) | string;
    onEventAutoCreated?: ((event: {
        source: CalendarView;
        eventRecord: EventModel;
    }) => void) | string;
    onEventPropagate?: ((event: {
        eventEndDate: Date;
        propagateEndDate: Date;
        isAllDay: boolean;
        isOverflow: boolean;
        overflows: boolean;
        eventRecord: EventModel;
        date: Date;
    }) => 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;
    onGroupRecordClick?: ((event: {
        source: MonthGrid;
        groupBar: HTMLElement;
        groupRecord: Model;
        domEvent: Event;
    }) => Promise<boolean> | boolean | void) | string;
    onGroupRecordContextMenu?: ((event: {
        source: MonthGrid;
        groupBar: HTMLElement;
        groupRecord: Model;
        domEvent: Event;
    }) => void) | string;
    onGroupRecordDblClick?: ((event: {
        source: MonthGrid;
        groupBar: HTMLElement;
        groupRecord: Model;
        domEvent: Event;
    }) => void) | string;
    onGroupRecordMouseOut?: ((event: {
        source: MonthGrid;
        groupBar: HTMLElement;
        groupRecord: Model;
        domEvent: Event;
    }) => void) | string;
    onGroupRecordMouseOver?: ((event: {
        source: MonthGrid;
        groupBar: HTMLElement;
        groupRecord: Model;
        domEvent: Event;
    }) => 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: MonthGrid;
    }) => void) | string;
    onResize?: ((event: {
        source: Widget;
        width: number;
        height: number;
        oldWidth: number;
        oldHeight: number;
    }) => void) | string;
    onResourceClick?: ((event: {
        source: MonthGrid;
        domEvent: Event;
        date: Date;
        resourceElement: HTMLElement;
        resourceRecord: ResourceModel;
    }) => void) | string;
    onResponsiveStateChange?: ((event: {
        source: Widget;
        state: string;
        oldState: string;
    }) => void) | string;
    onShow?: ((event: {
        source: Widget;
    }) => void) | string;
    onShowOverflowPopup?: ((event: {
        cell: HTMLElement;
        cellData: DayCell;
        date: Date;
        overflowPopup: OverflowPopup;
    }) => void) | string;
    onToolClick?: ((event: {
        source: Tool;
        tool: Tool;
    }) => void) | string;
};
export declare class BryntumMonthGrid extends React.Component<BryntumMonthGridProps> {
    static instanceClass: typeof MonthGrid;
    static instanceName: string;
    processWidgetContent: typeof processWidgetContent;
    static configNames: string[];
    static propertyConfigNames: string[];
    static propertyNames: string[];
    instance: MonthGrid;
    element: HTMLElement;
    componentDidMount(): void;
    componentWillUnmount(): void;
    shouldComponentUpdate(nextProps: Readonly<BryntumMonthGridProps>, nextState: Readonly<{}>): boolean;
    render(): React.ReactNode;
}
