import type { TNode } from '../common';
export interface TdMenuProps {
    collapsed?: boolean;
    expanded?: Array<MenuValue>;
    defaultExpanded?: Array<MenuValue>;
    expandMutex?: boolean;
    expandType?: 'normal' | 'popup';
    logo?: TNode;
    operations?: TNode;
    theme?: 'light' | 'dark';
    value?: MenuValue;
    defaultValue?: MenuValue;
    width?: string | number | Array<string | number>;
    onChange?: (value: MenuValue) => void;
    onExpand?: (value: Array<MenuValue>) => void;
}
export interface TdHeadMenuProps {
    expanded?: Array<MenuValue>;
    defaultExpanded?: Array<MenuValue>;
    expandType?: 'normal' | 'popup';
    logo?: TNode;
    operations?: TNode;
    theme?: 'light' | 'dark';
    value?: MenuValue;
    defaultValue?: MenuValue;
    onChange?: (value: MenuValue) => void;
    onExpand?: (value: Array<MenuValue>) => void;
}
export interface TdSubmenuProps {
    content?: string | TNode;
    default?: string | TNode;
    disabled?: boolean;
    icon?: TNode;
    title?: string | TNode;
    value?: MenuValue;
}
export interface TdMenuItemProps {
    content?: string | TNode;
    default?: string | TNode;
    disabled?: boolean;
    href?: string;
    icon?: TNode;
    replace?: boolean;
    router?: Record<string, any>;
    target?: '_blank' | '_self' | '_parent' | '_top';
    to?: MenuRoute;
    value?: MenuValue;
    onClick?: (context: {
        e: MouseEvent;
    }) => void;
}
export interface TdMenuGroupProps {
    title?: string | TNode;
}
export declare type MenuValue = string | number;
export interface MenuRoute {
    path?: string;
    name?: string;
    hash?: string;
    query?: MenuQueryData;
    params?: MenuQueryData;
}
export interface MenuQueryData {
    [key: string]: string | string[];
}
