// Copyright 2017-2026 @pezkuwi/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { IconName } from '@fortawesome/fontawesome-svg-core';
import type React from 'react';
import type { Routes } from '@pezkuwi/apps-routing/types';

export interface ItemRoute {
  Modal?: React.ComponentType<any>;
  href?: string;
  icon: IconName;
  name: string;
  text: string;
  useCounter?: () => number | string | null;
}

export interface Group {
  name: string;
  routes: Routes;
}

export type Groups = Record<string, Group>;
