import { Type } from "@angular/core"; export interface NavbarOption { title: string; value: string; icon?: { component?: Type; inputs: { fill: string; selectedFill?: string; }; }; clicked?: boolean; } export interface ToggleNavbarOption extends NavbarOption { type: 'toggle'; placement: 'end' | 'start' | 'bottom'; checked?: boolean; } export interface ButtonNavbarOption extends NavbarOption { type: 'button'; } export interface TextNavbarOption extends NavbarOption { type: 'text'; } export interface DropdownNavbarOption extends NavbarOption { type: 'dropdown'; } export type NavbarItem = ToggleNavbarOption | ButtonNavbarOption | TextNavbarOption | DropdownNavbarOption;