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

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

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