import { SvelteComponentTyped } from "svelte"; import type { ButtonProps } from "../Button/Button.svelte"; type $Props = { /** * Set to `true` to use the active variant * @default false */ isActive?: boolean; /** * Specify the icon to render. */ icon?: Icon | undefined; /** * Obtain a reference to the HTML button element. * @default null */ ref?: null | HTMLButtonElement; badge?: (this: void) => void; }; export type HeaderGlobalActionProps = Omit> & $Props; export default class HeaderGlobalAction extends SvelteComponentTyped< HeaderGlobalActionProps, { click: WindowEventMap["click"] }, { badge: Record } > {}