import type {
    NCoreUIKitIcon
} from "../../../../types";
import type IRowCardProps from "../../../rowCard/type";

export type MenuButton = {
    title: keyof NCoreUIKit.Translation | (string & {});
    isShowRedirectIcon?: NCoreUIKitIcon;
    subButtons?: Array<MenuButton>;
    isCollapsible?: boolean;
    isUseLocalize?: boolean;
    redirectMain?: string;
    props?: IRowCardProps;
    icon?: NCoreUIKitIcon;
    redirectSub?: string;
    isCollapse?: boolean;
};

interface IMenuButton {
    updateMenuButtonCollabs: (props: {
        depthMap: Array<number>;
        buttonItem: MenuButton;
        status: boolean;
    }) => void;
    navigation: NCoreUIKit.Navigation;
    closeAction?: () => void;
    depthMap: Array<number>;
    buttonItem: MenuButton;
    buttonIndex: number;
    id: string;
};
export type {
    IMenuButton as default
};
