import { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";

/** Group a set of `ProfileMenuItem` components in the default slot. */
type $RestProps = SvelteHTMLElements["div"];

type $Props = {
  /**
   * Obtain a reference to the HTML element.
   * @default null
   */
  ref?: null | HTMLDivElement;

  children?: (this: void) => void;

  [key: `data-${string}`]: unknown;
};

export type ProfileMenuListProps = Omit<$RestProps, keyof $Props> & $Props;

export default class ProfileMenuList extends SvelteComponentTyped<
  ProfileMenuListProps,
  Record<string, any>,
  { default: Record<string, never> }
> {}
