import { SvelteComponentTyped } from "svelte"; export type AnchoredTooltipProps = { /** * Element that shows the tooltip on hover and focus. * @default null */ anchor?: null | HTMLElement; /** * Specify the tooltip text. * @default "" */ text?: string; /** * Set to `false` to keep the tooltip closed. * @default true */ enabled?: boolean; /** * Set the direction of the tooltip relative to the anchor. * @default "bottom" */ direction?: "top" | "right" | "bottom" | "left"; /** * Set the alignment of the tooltip relative to the anchor. * @default "center" */ align?: "start" | "center" | "end"; /** * Set to `true` to let Escape reach a focused anchor's own handlers * after it hides the tooltip. * @default false */ passEscapeWhenFocused?: boolean; /** * Set to `false` to keep the tooltip open when the anchor is activated. * @default true */ dismissOnClick?: boolean; }; export default class AnchoredTooltip extends SvelteComponentTyped< AnchoredTooltipProps, Record, Record > {}