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

type $RestProps = SvelteHTMLElements["div"];

type $Props = {
  /**
   * Specify the size of the pagination.
   * @default "md"
   */
  size?: "xs" | "sm" | "md" | "lg";

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

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

export default class PaginationSkeleton extends SvelteComponentTyped<
  PaginationSkeletonProps,
  {
    click: WindowEventMap["click"];
    mouseenter: WindowEventMap["mouseenter"];
    mouseleave: WindowEventMap["mouseleave"];
    mouseover: WindowEventMap["mouseover"];
  },
  Record<string, never>
> {}
