import type { Component } from "svelte"; export type OverflowMenuIconProps = { size?: number | string; strokeWidth?: number | string; color?: string; class?: string; } & Record<`data-${string}`, unknown>; export type OverflowMenuIcon = Component | string; export interface OverflowMenuActionItem { kind?: "item"; value: string; label: string; disabled?: boolean; danger?: boolean; icon?: OverflowMenuIcon; onclick?: () => void; } export interface OverflowMenuDividerItem { kind: "divider"; } export interface OverflowMenuGroupItem { kind: "group"; label: string; } export type OverflowMenuItem = OverflowMenuActionItem | OverflowMenuDividerItem | OverflowMenuGroupItem; import type { HTMLAttributes } from "svelte/elements"; type OverflowMenuProps = Omit, "class" | "onselect"> & { items: OverflowMenuItem[]; label?: string; open?: boolean; placement?: "bottom-start" | "bottom-end" | "top-start" | "top-end"; class?: string; triggerLabel?: string; dense?: boolean; onselect?: (value: string) => void; }; declare const OverflowMenu: Component; type OverflowMenu = ReturnType; export default OverflowMenu; //# sourceMappingURL=OverflowMenu.svelte.d.ts.map