UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

1,876 lines • 77.9 kB
import React from 'react';
import { PropsWithModel } from '@workday/canvas-kit-react/common';
import { useMenuModel } from './useMenuModel';
type MenuModelConfig = (typeof useMenuModel)['TConfig'];
export interface SubmenuProps extends MenuModelConfig, PropsWithModel<ReturnType<typeof useMenuModel>> {
    /**
     * The contents of the Menu. Can be `Menu` children or any valid elements.
     */
    children: React.ReactNode;
}
export declare const SubmenuPopper: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("@workday/canvas-kit-react/popup").PopperProps & React.RefAttributes<HTMLDivElement>, {
    state: {
        stackRef: React.RefObject<HTMLDivElement>;
        targetRef: React.RefObject<HTMLButtonElement>;
        initialFocusRef: React.RefObject<any> | undefined;
        returnFocusRef: React.RefObject<any> | undefined;
        placement: import("@popperjs/core").Placement;
        id: string;
        visibility: "hidden" | "visible";
        selectedIds: string[] | "all";
        unselectedIds: string[];
        cursorId: string | string[];
        columnCount: number;
        pageSizeRef: React.MutableRefObject<number>;
        cursorIndexRef: {
            readonly current: number;
        };
        UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
        UNSTABLE_defaultItemHeight: number;
        containerRef: React.RefObject<HTMLDivElement>;
        orientation: "horizontal" | "vertical";
        indexRef: React.MutableRefObject<number>;
        nonInteractiveIds: string[];
        isVirtualized: boolean;
        items: import("@workday/canvas-kit-react/collection").Item<any>[];
        mode: "multiple" | "single";
    };
    events: {
        updatePlacement(data: {
            placement: import("@popperjs/core").Placement;
        }): void;
        show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
        hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
        select(data: {
            id: string;
        }): void;
        selectAll(): void;
        unselectAll(): void;
        setSelectedIds(ids: string[] | "all"): void;
        remove(data: {
            id: string;
            nextId?: string | undefined;
            event?: Event | React.SyntheticEvent<Element, Event> | undefined;
        }): void;
        goTo(data: {
            id: string;
        }): void;
        goToNext(): void;
        goToPrevious(): void;
        goToPreviousRow(): void;
        goToNextRow(): void;
        goToFirst(): void;
        goToLast(): void;
        goToFirstOfRow(): void;
        goToLastOfRow(): void;
        goToNextPage(): void;
        goToPreviousPage(): void;
        registerItem(data: {
            id: string;
            textValue: string;
        }): void;
        unregisterItem(data: {
            id: string;
        }): void;
        updateItemHeight(data: {
            value: number;
        }): void;
    };
    UNSTABLE_parentModel: {
        state: {
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            id: string;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
        };
        events: {
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
        } | undefined;
    };
    selection: import("@workday/canvas-kit-react/collection").SelectionManager;
    navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
    getId: (item: any) => string;
    getTextValue: (item: any) => string;
}>;
export declare const useSubmenuTargetItem: import("@workday/canvas-kit-react/common").BehaviorHook<import("@workday/canvas-kit-react/common").Model<any, any>, import("@workday/canvas-kit-react/common").RemoveNulls<import("@workday/canvas-kit-react/common").MergeProps<{
    readonly ref: (instance: HTMLElement | null) => void;
    readonly className: "focus" | undefined;
}, import("@workday/canvas-kit-react/common").MergeProps<{
    readonly onKeyDown: (event: React.KeyboardEvent<Element>) => void;
}, import("@workday/canvas-kit-react/common").MergeProps<{
    readonly onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
    readonly onClick: () => void;
    readonly 'data-focus-id': string;
    readonly tabIndex: 0 | -1;
}, import("@workday/canvas-kit-react/common").MergeProps<{
    readonly ref: (instance: unknown) => void;
}, import("@workday/canvas-kit-react/common").MergeProps<{
    readonly ref: (instance: Element | null | undefined) => void;
    readonly 'data-id': string;
    readonly disabled: true | undefined;
    readonly 'aria-setsize': number | undefined;
    readonly 'aria-posinset': number | undefined;
    readonly 'data-index': number | undefined;
    readonly style: React.CSSProperties;
    readonly id: string;
}, import("@workday/canvas-kit-react/common").MergeProps<{
    readonly id: string;
    readonly role: "menuitem";
    readonly 'aria-haspopup': "true";
    readonly 'aria-expanded': boolean;
    readonly onMouseDown: (event: React.MouseEvent) => void;
    readonly onMouseEnter: (event: React.MouseEvent) => void;
    readonly onMouseLeave: () => void;
    readonly onClick: (event: React.MouseEvent) => void;
    readonly 'data-has-children': true;
    readonly onKeyDown: (event: React.KeyboardEvent) => void;
}, {}>>>>>>>>;
export declare const SubmenuTargetItem: import("@workday/canvas-kit-react/common").ElementComponentM<"button", {}, {
    state: {
        stackRef: React.RefObject<HTMLDivElement>;
        targetRef: React.RefObject<HTMLButtonElement>;
        initialFocusRef: React.RefObject<any> | undefined;
        returnFocusRef: React.RefObject<any> | undefined;
        placement: import("@popperjs/core").Placement;
        id: string;
        visibility: "hidden" | "visible";
        selectedIds: string[] | "all";
        unselectedIds: string[];
        cursorId: string | string[];
        columnCount: number;
        pageSizeRef: React.MutableRefObject<number>;
        cursorIndexRef: {
            readonly current: number;
        };
        UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
        UNSTABLE_defaultItemHeight: number;
        containerRef: React.RefObject<HTMLDivElement>;
        orientation: "horizontal" | "vertical";
        indexRef: React.MutableRefObject<number>;
        nonInteractiveIds: string[];
        isVirtualized: boolean;
        items: import("@workday/canvas-kit-react/collection").Item<any>[];
        mode: "multiple" | "single";
    };
    events: {
        updatePlacement(data: {
            placement: import("@popperjs/core").Placement;
        }): void;
        show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
        hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
        select(data: {
            id: string;
        }): void;
        selectAll(): void;
        unselectAll(): void;
        setSelectedIds(ids: string[] | "all"): void;
        remove(data: {
            id: string;
            nextId?: string | undefined;
            event?: Event | React.SyntheticEvent<Element, Event> | undefined;
        }): void;
        goTo(data: {
            id: string;
        }): void;
        goToNext(): void;
        goToPrevious(): void;
        goToPreviousRow(): void;
        goToNextRow(): void;
        goToFirst(): void;
        goToLast(): void;
        goToFirstOfRow(): void;
        goToLastOfRow(): void;
        goToNextPage(): void;
        goToPreviousPage(): void;
        registerItem(data: {
            id: string;
            textValue: string;
        }): void;
        unregisterItem(data: {
            id: string;
        }): void;
        updateItemHeight(data: {
            value: number;
        }): void;
    };
    UNSTABLE_parentModel: {
        state: {
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            id: string;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
        };
        events: {
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
        } | undefined;
    };
    selection: import("@workday/canvas-kit-react/collection").SelectionManager;
    navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
    getId: (item: any) => string;
    getTextValue: (item: any) => string;
}>;
/**
 * `Submenu` should be put in place of a `Menu.Item`. It will render a menu item that is the target
 * for the submenu card.
 *
 * ```tsx
 * <Menu.Item>First Item</Menu.Item>
 * <Menu.Submenu>
 *   <Menu.Submenu.TargetItem>Second Item</Menu.Submenu.TargetItem>
 *   <Menu.Submenu.Popper>
 *     <Menu.Submenu.Card>
 *       <Menu.Submenu.List>
 *         <Menu.Submenu.Item data-id="first">First Sub Item</Menu.Submenu.Item>
 *         <Menu.Submenu.Item data-id="second">Second Sub Item</Menu.Submenu.Item>
 *       </Menu.Submenu.List>
 *     </Menu.Submenu.Card>
 *   </Menu.Submenu.Popper>
 * </Menu.Submenu>
 * </Menu.Item>Third Item</Menu.Item>
 * ```
 */
export declare const Submenu: import("@workday/canvas-kit-react/common").ElementComponentM<React.FC<{}>, SubmenuProps, {
    state: {
        stackRef: React.RefObject<HTMLDivElement>;
        targetRef: React.RefObject<HTMLButtonElement>;
        initialFocusRef: React.RefObject<any> | undefined;
        returnFocusRef: React.RefObject<any> | undefined;
        placement: import("@popperjs/core").Placement;
        id: string;
        visibility: "hidden" | "visible";
        selectedIds: string[] | "all";
        unselectedIds: string[];
        cursorId: string | string[];
        columnCount: number;
        pageSizeRef: React.MutableRefObject<number>;
        cursorIndexRef: {
            readonly current: number;
        };
        UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
        UNSTABLE_defaultItemHeight: number;
        containerRef: React.RefObject<HTMLDivElement>;
        orientation: "horizontal" | "vertical";
        indexRef: React.MutableRefObject<number>;
        nonInteractiveIds: string[];
        isVirtualized: boolean;
        items: import("@workday/canvas-kit-react/collection").Item<any>[];
        mode: "multiple" | "single";
    };
    events: {
        updatePlacement(data: {
            placement: import("@popperjs/core").Placement;
        }): void;
        show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
        hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
        select(data: {
            id: string;
        }): void;
        selectAll(): void;
        unselectAll(): void;
        setSelectedIds(ids: string[] | "all"): void;
        remove(data: {
            id: string;
            nextId?: string | undefined;
            event?: Event | React.SyntheticEvent<Element, Event> | undefined;
        }): void;
        goTo(data: {
            id: string;
        }): void;
        goToNext(): void;
        goToPrevious(): void;
        goToPreviousRow(): void;
        goToNextRow(): void;
        goToFirst(): void;
        goToLast(): void;
        goToFirstOfRow(): void;
        goToLastOfRow(): void;
        goToNextPage(): void;
        goToPreviousPage(): void;
        registerItem(data: {
            id: string;
            textValue: string;
        }): void;
        unregisterItem(data: {
            id: string;
        }): void;
        updateItemHeight(data: {
            value: number;
        }): void;
    };
    UNSTABLE_parentModel: {
        state: {
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            id: string;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
        };
        events: {
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
        } | undefined;
    };
    selection: import("@workday/canvas-kit-react/collection").SelectionManager;
    navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
    getId: (item: any) => string;
    getTextValue: (item: any) => string;
}> & {
    /**
     * The menu card is a non-semantic element used to give the dropdown menu its distinct visual
     * cue that the dropdown menu is floating above other content. A menu card usually contains a
     * menu list, but can also contain other elements like a header or footer.
     */
    Card: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuCard").MenuCardProps, {
        state: {
            stackRef: React.RefObject<HTMLDivElement>;
            targetRef: React.RefObject<HTMLButtonElement>;
            initialFocusRef: React.RefObject<any> | undefined;
            returnFocusRef: React.RefObject<any> | undefined;
            placement: import("@popperjs/core").Placement;
            id: string;
            visibility: "hidden" | "visible";
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
            mode: "multiple" | "single";
        };
        events: {
            updatePlacement(data: {
                placement: import("@popperjs/core").Placement;
            }): void;
            show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
            UNSTABLE_parentModel: {
                state: {
                    selectedIds: string[] | "all";
                    unselectedIds: string[];
                    cursorId: string | string[];
                    columnCount: number;
                    pageSizeRef: React.MutableRefObject<number>;
                    cursorIndexRef: {
                        readonly current: number;
                    };
                    UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                    UNSTABLE_defaultItemHeight: number;
                    containerRef: React.RefObject<HTMLDivElement>;
                    id: string;
                    orientation: "horizontal" | "vertical";
                    indexRef: React.MutableRefObject<number>;
                    nonInteractiveIds: string[];
                    isVirtualized: boolean;
                    items: import("@workday/canvas-kit-react/collection").Item<any>[];
                };
                events: {
                    select(data: {
                        id: string;
                    }): void;
                    selectAll(): void;
                    unselectAll(): void;
                    setSelectedIds(ids: string[] | "all"): void;
                    remove(data: {
                        id: string;
                        nextId?: string | undefined;
                        event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                    }): void;
                    goTo(data: {
                        id: string;
                    }): void;
                    goToNext(): void;
                    goToPrevious(): void;
                    goToPreviousRow(): void;
                    goToNextRow(): void;
                    goToFirst(): void;
                    goToLast(): void;
                    goToFirstOfRow(): void;
                    goToLastOfRow(): void;
                    goToNextPage(): void;
                    goToPreviousPage(): void;
                    registerItem(data: {
                        id: string;
                        textValue: string;
                    }): void;
                    unregisterItem(data: {
                        id: string;
                    }): void;
                    updateItemHeight(data: {
                        value: number;
                    }): void;
                };
                selection: import("@workday/canvas-kit-react/collection").SelectionManager;
                navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
                getId: (item: any) => string;
                getTextValue: (item: any) => string;
            } | undefined;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
    }>;
    /**
     * The menu list follows the Collections API. A list can either contain static items
     * or a render prop and `items`. It is recommended that the `items` comes from a nested
     * JavaScript object.
     */
    List: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuList").MenuListProps<any>, {
        state: {
            stackRef: React.RefObject<HTMLDivElement>;
            targetRef: React.RefObject<HTMLButtonElement>;
            initialFocusRef: React.RefObject<any> | undefined;
            returnFocusRef: React.RefObject<any> | undefined;
            placement: import("@popperjs/core").Placement;
            id: string;
            visibility: "hidden" | "visible";
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
            mode: "multiple" | "single";
        };
        events: {
            updatePlacement(data: {
                placement: import("@popperjs/core").Placement;
            }): void;
            show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
            UNSTABLE_parentModel: {
                state: {
                    selectedIds: string[] | "all";
                    unselectedIds: string[];
                    cursorId: string | string[];
                    columnCount: number;
                    pageSizeRef: React.MutableRefObject<number>;
                    cursorIndexRef: {
                        readonly current: number;
                    };
                    UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                    UNSTABLE_defaultItemHeight: number;
                    containerRef: React.RefObject<HTMLDivElement>;
                    id: string;
                    orientation: "horizontal" | "vertical";
                    indexRef: React.MutableRefObject<number>;
                    nonInteractiveIds: string[];
                    isVirtualized: boolean;
                    items: import("@workday/canvas-kit-react/collection").Item<any>[];
                };
                events: {
                    select(data: {
                        id: string;
                    }): void;
                    selectAll(): void;
                    unselectAll(): void;
                    setSelectedIds(ids: string[] | "all"): void;
                    remove(data: {
                        id: string;
                        nextId?: string | undefined;
                        event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                    }): void;
                    goTo(data: {
                        id: string;
                    }): void;
                    goToNext(): void;
                    goToPrevious(): void;
                    goToPreviousRow(): void;
                    goToNextRow(): void;
                    goToFirst(): void;
                    goToLast(): void;
                    goToFirstOfRow(): void;
                    goToLastOfRow(): void;
                    goToNextPage(): void;
                    goToPreviousPage(): void;
                    registerItem(data: {
                        id: string;
                        textValue: string;
                    }): void;
                    unregisterItem(data: {
                        id: string;
                    }): void;
                    updateItemHeight(data: {
                        value: number;
                    }): void;
                };
                selection: import("@workday/canvas-kit-react/collection").SelectionManager;
                navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
                getId: (item: any) => string;
                getTextValue: (item: any) => string;
            } | undefined;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
    }>;
    /**
     * If the static API is used, a `data-id` prop should be used to identify the item. If you're
     * using the dynamic API, pass a `getId` and  `getTextValue` to the parent `Menu` the model.
     */
    Item: import("@workday/canvas-kit-react/common").ElementComponentM<"button", import("./MenuItem").MenuItemProps, {
        state: {
            stackRef: React.RefObject<HTMLDivElement>;
            targetRef: React.RefObject<HTMLButtonElement>;
            initialFocusRef: React.RefObject<any> | undefined;
            returnFocusRef: React.RefObject<any> | undefined;
            placement: import("@popperjs/core").Placement;
            id: string;
            visibility: "hidden" | "visible";
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
            mode: "multiple" | "single";
        };
        events: {
            updatePlacement(data: {
                placement: import("@popperjs/core").Placement;
            }): void;
            show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
            UNSTABLE_parentModel: {
                state: {
                    selectedIds: string[] | "all";
                    unselectedIds: string[];
                    cursorId: string | string[];
                    columnCount: number;
                    pageSizeRef: React.MutableRefObject<number>;
                    cursorIndexRef: {
                        readonly current: number;
                    };
                    UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                    UNSTABLE_defaultItemHeight: number;
                    containerRef: React.RefObject<HTMLDivElement>;
                    id: string;
                    orientation: "horizontal" | "vertical";
                    indexRef: React.MutableRefObject<number>;
                    nonInteractiveIds: string[];
                    isVirtualized: boolean;
                    items: import("@workday/canvas-kit-react/collection").Item<any>[];
                };
                events: {
                    select(data: {
                        id: string;
                    }): void;
                    selectAll(): void;
                    unselectAll(): void;
                    setSelectedIds(ids: string[] | "all"): void;
                    remove(data: {
                        id: string;
                        nextId?: string | undefined;
                        event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                    }): void;
                    goTo(data: {
                        id: string;
                    }): void;
                    goToNext(): void;
                    goToPrevious(): void;
                    goToPreviousRow(): void;
                    goToNextRow(): void;
                    goToFirst(): void;
                    goToLast(): void;
                    goToFirstOfRow(): void;
                    goToLastOfRow(): void;
                    goToNextPage(): void;
                    goToPreviousPage(): void;
                    registerItem(data: {
                        id: string;
                        textValue: string;
                    }): void;
                    unregisterItem(data: {
                        id: string;
                    }): void;
                    updateItemHeight(data: {
                        value: number;
                    }): void;
                };
                selection: import("@workday/canvas-kit-react/collection").SelectionManager;
                navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
                getId: (item: any) => string;
                getTextValue: (item: any) => string;
            } | undefined;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
    }> & {
        Icon: (elemProps: import("../..").SystemIconProps) => import("react/jsx-runtime").JSX.Element;
        Text: import("@workday/canvas-kit-react/common").ElementComponent<"span", import("@workday/canvas-kit-styling").CSProps>;
    };
    /**
     * The `Submenu.TargetItem` is similar to the `Menu.Item`, but represents both the target for
     * the submenu and the item in the menu list. This should only be used once per `<Menu.Submenu>`
     * component.
     */
    TargetItem: import("@workday/canvas-kit-react/common").ElementComponentM<"button", {}, {
        state: {
            stackRef: React.RefObject<HTMLDivElement>;
            targetRef: React.RefObject<HTMLButtonElement>;
            initialFocusRef: React.RefObject<any> | undefined;
            returnFocusRef: React.RefObject<any> | undefined;
            placement: import("@popperjs/core").Placement;
            id: string;
            visibility: "hidden" | "visible";
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
            mode: "multiple" | "single";
        };
        events: {
            updatePlacement(data: {
                placement: import("@popperjs/core").Placement;
            }): void;
            show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
            UNSTABLE_parentModel: {
                state: {
                    selectedIds: string[] | "all";
                    unselectedIds: string[];
                    cursorId: string | string[];
                    columnCount: number;
                    pageSizeRef: React.MutableRefObject<number>;
                    cursorIndexRef: {
                        readonly current: number;
                    };
                    UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                    UNSTABLE_defaultItemHeight: number;
                    containerRef: React.RefObject<HTMLDivElement>;
                    id: string;
                    orientation: "horizontal" | "vertical";
                    indexRef: React.MutableRefObject<number>;
                    nonInteractiveIds: string[];
                    isVirtualized: boolean;
                    items: import("@workday/canvas-kit-react/collection").Item<any>[];
                };
                events: {
                    select(data: {
                        id: string;
                    }): void;
                    selectAll(): void;
                    unselectAll(): void;
                    setSelectedIds(ids: string[] | "all"): void;
                    remove(data: {
                        id: string;
                        nextId?: string | undefined;
                        event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                    }): void;
                    goTo(data: {
                        id: string;
                    }): void;
                    goToNext(): void;
                    goToPrevious(): void;
                    goToPreviousRow(): void;
                    goToNextRow(): void;
                    goToFirst(): void;
                    goToLast(): void;
                    goToFirstOfRow(): void;
                    goToLastOfRow(): void;
                    goToNextPage(): void;
                    goToPreviousPage(): void;
                    registerItem(data: {
                        id: string;
                        textValue: string;
                    }): void;
                    unregisterItem(data: {
                        id: string;
                    }): void;
                    updateItemHeight(data: {
                        value: number;
                    }): void;
                };
                selection: import("@workday/canvas-kit-react/collection").SelectionManager;
                navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
                getId: (item: any) => string;
                getTextValue: (item: any) => string;
            } | undefined;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
    }>;
    Group: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuGroup").MenuGroupProps & Partial<{
        id: string | undefined;
    }> & {} & {}, {
        state: {
            id: string;
        };
        events: {};
    }> & {
        Heading: import("@workday/canvas-kit-react/common").ElementComponentM<"div", {}, {
            state: {
                id: string;
            };
            events: {};
        }>;
    };
    /**
     * A `Menu.Option` is similar to the `Menu.Item`, but has a `role=option` and works with
     * `aria-activedescendant` and is selectable with a selected checkmark. It adds the
     * `aria-selected="true/false"` attribute. `Menu.Option` requires much more accessibility
     * behavior composed into the `Menu.Target` and `Menu.List` component. The `Combobox` and
     * `Select` components make use of the `Menu.Option`. See those components for a better idea of
     * how behavior is composed.
     */
    Option: import("@workday/canvas-kit-react/common").ElementComponentM<"li", import("./MenuItem").MenuItemProps, {
        state: {
            stackRef: React.RefObject<HTMLDivElement>;
            targetRef: React.RefObject<HTMLButtonElement>;
            initialFocusRef: React.RefObject<any> | undefined;
            returnFocusRef: React.RefObject<any> | undefined;
            placement: import("@popperjs/core").Placement;
            id: string;
            visibility: "hidden" | "visible";
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
            mode: "multiple" | "single";
        };
        events: {
            updatePlacement(data: {
                placement: import("@popperjs/core").Placement;
            }): void;
            show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
            UNSTABLE_parentModel: {
                state: {
                    selectedIds: string[] | "all";
                    unselectedIds: string[];
                    cursorId: string | string[];
                    columnCount: number;
                    pageSizeRef: React.MutableRefObject<number>;
                    cursorIndexRef: {
                        readonly current: number;
                    };
                    UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                    UNSTABLE_defaultItemHeight: number;
                    containerRef: React.RefObject<HTMLDivElement>;
                    id: string;
                    orientation: "horizontal" | "vertical";
                    indexRef: React.MutableRefObject<number>;
                    nonInteractiveIds: string[];
                    isVirtualized: boolean;
                    items: import("@workday/canvas-kit-react/collection").Item<any>[];
                };
                events: {
                    select(data: {
                        id: string;
                    }): void;
                    selectAll(): void;
                    unselectAll(): void;
                    setSelectedIds(ids: string[] | "all"): void;
                    remove(data: {
                        id: string;
                        nextId?: string | undefined;
                        event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                    }): void;
                    goTo(data: {
                        id: string;
                    }): void;
                    goToNext(): void;
                    goToPrevious(): void;
                    goToPreviousRow(): void;
                    goToNextRow(): void;
                    goToFirst(): void;
                    goToLast(): void;
                    goToFirstOfRow(): void;
                    goToLastOfRow(): void;
                    goToNextPage(): void;
                    goToPreviousPage(): void;
                    registerItem(data: {
                        id: string;
                        textValue: string;
                    }): void;
                    unregisterItem(data: {
                        id: string;
                    }): void;
                    updateItemHeight(data: {
                        value: number;
                    }): void;
                };
                selection: import("@workday/canvas-kit-react/collection").SelectionManager;
                navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
                getId: (item: any) => string;
                getTextValue: (item: any) => string;
            } | undefined;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
    }> & {
        Icon: (elemProps: import("../..").SystemIconProps) => import("react/jsx-runtime").JSX.Element;
        Text: import("@workday/canvas-kit-react/common").ElementComponent<"span", unknown>;
    };
    Divider: import("@workday/canvas-kit-react/common").ElementComponent<"hr", import("./MenuDivider").DividerProps>;
    /**
     * The "Popper" of a menu. The popper will appear around the {@link MenuTarget Menu.Target}. It
     * renders a `div` element that is portalled to the `document.body` which is controlled by the
     * {@link PopupStack}. The `PopupStack` is not part of React. This means no extra props given to
     * this component will be forwarded to the `div` element, but the `ref` will be forwarded.
     */
    Popper: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("@workday/canvas-kit-react/popup").PopperProps & React.RefAttributes<HTMLDivElement>, {
        state: {
            stackRef: React.RefObject<HTMLDivElement>;
            targetRef: React.RefObject<HTMLButtonElement>;
            initialFocusRef: React.RefObject<any> | undefined;
            returnFocusRef: React.RefObject<any> | undefined;
            placement: import("@popperjs/core").Placement;
            id: string;
            visibility: "hidden" | "visible";
            selectedIds: string[] | "all";
            unselectedIds: string[];
            cursorId: string | string[];
            columnCount: number;
            pageSizeRef: React.MutableRefObject<number>;
            cursorIndexRef: {
                readonly current: number;
            };
            UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
            UNSTABLE_defaultItemHeight: number;
            containerRef: React.RefObject<HTMLDivElement>;
            orientation: "horizontal" | "vertical";
            indexRef: React.MutableRefObject<number>;
            nonInteractiveIds: string[];
            isVirtualized: boolean;
            items: import("@workday/canvas-kit-react/collection").Item<any>[];
            mode: "multiple" | "single";
        };
        events: {
            updatePlacement(data: {
                placement: import("@popperjs/core").Placement;
            }): void;
            show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
            select(data: {
                id: string;
            }): void;
            selectAll(): void;
            unselectAll(): void;
            setSelectedIds(ids: string[] | "all"): void;
            remove(data: {
                id: string;
                nextId?: string | undefined;
                event?: Event | React.SyntheticEvent<Element, Event> | undefined;
            }): void;
            goTo(data: {
                id: string;
            }): void;
            goToNext(): void;
            goToPrevious(): void;
            goToPreviousRow(): void;
            goToNextRow(): void;
            goToFirst(): void;
            goToLast(): void;
            goToFirstOfRow(): void;
            goToLastOfRow(): void;
            goToNextPage(): void;
            goToPreviousPage(): void;
            registerItem(data: {
                id: string;
                textValue: string;
            }): void;
            unregisterItem(data: {
                id: string;
            }): void;
            updateItemHeight(data: {
                value: number;
            }): void;
        };
        UNSTABLE_parentModel: {
            state: {
                selectedIds: string[] | "all";
                unselectedIds: string[];
                cursorId: string | string[];
                columnCount: number;
                pageSizeRef: React.MutableRefObject<number>;
                cursorIndexRef: {
                    readonly current: number;
                };
                UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                UNSTABLE_defaultItemHeight: number;
                containerRef: React.RefObject<HTMLDivElement>;
                id: string;
                orientation: "horizontal" | "vertical";
                indexRef: React.MutableRefObject<number>;
                nonInteractiveIds: string[];
                isVirtualized: boolean;
                items: import("@workday/canvas-kit-react/collection").Item<any>[];
            };
            events: {
                select(data: {
                    id: string;
                }): void;
                selectAll(): void;
                unselectAll(): void;
                setSelectedIds(ids: string[] | "all"): void;
                remove(data: {
                    id: string;
                    nextId?: string | undefined;
                    event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                }): void;
                goTo(data: {
                    id: string;
                }): void;
                goToNext(): void;
                goToPrevious(): void;
                goToPreviousRow(): void;
                goToNextRow(): void;
                goToFirst(): void;
                goToLast(): void;
                goToFirstOfRow(): void;
                goToLastOfRow(): void;
                goToNextPage(): void;
                goToPreviousPage(): void;
                registerItem(data: {
                    id: string;
                    textValue: string;
                }): void;
                unregisterItem(data: {
                    id: string;
                }): void;
                updateItemHeight(data: {
                    value: number;
                }): void;
            };
            selection: import("@workday/canvas-kit-react/collection").SelectionManager;
            navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
            getId: (item: any) => string;
            getTextValue: (item: any) => string;
            UNSTABLE_parentModel: {
                state: {
                    selectedIds: string[] | "all";
                    unselectedIds: string[];
                    cursorId: string | string[];
                    columnCount: number;
                    pageSizeRef: React.MutableRefObject<number>;
                    cursorIndexRef: {
                        readonly current: number;
                    };
                    UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
                    UNSTABLE_defaultItemHeight: number;
                    containerRef: React.RefObject<HTMLDivElement>;
                    id: string;
                    orientation: "horizontal" | "vertical";
                    indexRef: React.MutableRefObject<number>;
                    nonInteractiveIds: string[];
                    isVirtualized: boolean;
                    items: import("@workday/canvas-kit-react/collection").Item<any>[];
                };
                events: {
                    select(data: {
                        id: string;
                    }): void;
                    selectAll(): void;
                    unselectAll(): void;
                    setSelectedIds(ids: string[] | "all"): void;
                    remove(data: {
                        id: string;
                        nextId?: string | undefined;
                        event?: Event | React.SyntheticEvent<Element, Event> | undefined;
                    }): void;
                    goTo(data: {
                        id: string;
                    }): void;
                    goToNext(): void;
                    goToPrevious(): void;
                    goToPreviousRow(): void;
                    goToNextRow(): void;
                    goToFirst(): void;
                    goToLast(): void;
                    goToFirstOfRow(): void;
                    goToLastOfRow(): void;
                    goToNextPage(): void;
                    goToPreviousPage(): void;
                    registerItem(data: {
                        id: string;
                        textValue: string;
                    }): void;
                    unregisterItem(data: {
                        id: string;
                    }): void;
                    updateItemHeight(data: {
                        value: number;
                    }): void;
                };
                selection: import("@workday/canvas-kit-react/collection").SelectionManager;
                navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
                getId: (item: any) => string;
                getTextValue: (item: any) => string;
            } | undefined;
        };
        selection: import("@workday/canvas-kit-react/collection").SelectionManager;
        navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
        getId: (item: any) => string;
        getTextValue: (item: any) => string;
    }>;
};
export {};
//# sourceMappingURL=Submenu.d.ts.map