import type { PropType } from 'vue'; import { WtApplication } from '../../enums'; import type { WtNavigationBarNavItem } from './types/WtNavigationBar'; declare const _default: typeof __VLS_export; export default _default; declare const __VLS_export: import("vue").DefineComponent; default: "admin"; }; /** * Should receive array of nav objects. All objects should have following properties: * "value" -- main inner logic property, should be unique. "name" -- display name. If none, * displays "value" property. "route" -- relative path, used for :to attr in router-link component. * "subNav": array of objects, with properties, described above. * If expansion has route, and subNav has route, subNav route computes like nav.route + / + subnav.route * @type {Array} * @default [] */ nav: { type: PropType; default: () => never[]; }; /** * Dark mode flag * @type {boolean} * @default false */ darkMode: { type: BooleanConstructor; default: boolean; }; /** * Logo route path * @type {string} * @default '' */ logoRoute: { type: StringConstructor; default: string; }; }>, {}, { isOpened: boolean; expandedName: string; appLogo: Partial>; }, { currentNav(): { nav: string | undefined; expansion: string | undefined; }; }, { nestedRoute(subNavItem: WtNavigationBarNavItem, navItem: WtNavigationBarNavItem): string | undefined; expand(navItem: WtNavigationBarNavItem): void; isExpanded(navItem: WtNavigationBarNavItem): boolean; close(): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; default: "admin"; }; /** * Should receive array of nav objects. All objects should have following properties: * "value" -- main inner logic property, should be unique. "name" -- display name. If none, * displays "value" property. "route" -- relative path, used for :to attr in router-link component. * "subNav": array of objects, with properties, described above. * If expansion has route, and subNav has route, subNav route computes like nav.route + / + subnav.route * @type {Array} * @default [] */ nav: { type: PropType; default: () => never[]; }; /** * Dark mode flag * @type {boolean} * @default false */ darkMode: { type: BooleanConstructor; default: boolean; }; /** * Logo route path * @type {string} * @default '' */ logoRoute: { type: StringConstructor; default: string; }; }>> & Readonly<{}>, { nav: WtNavigationBarNavItem[]; darkMode: boolean; currentApp: WtApplication; logoRoute: string; }, {}, { ExpandTransition: import("vue").DefineComponent<{}, {}, {}, {}, { afterEnter(element: any): void; enter(element: any): void; leave(element: any): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;