// Contrato para los packages frontend (React)

import * as React from "react";
import { ReactNode } from "react";
import { PackageMetadata } from "./types";

export interface PackageClientMetadata extends PackageMetadata {
  route: string;
  icon?: ReactNode;
}

export interface IPackageClient {
  metadata: PackageClientMetadata;
  component: React.FC;
  setup?(): void;
}
