import { Tooltip as FluentTooltip } from "@fluentui/web-components"; /** * Tooltip * @summary A custom HTML Tooltip element based on Fluent UI's Tooltip, enhanced with custom styling and behavior. * * @example * ```html * * Tooltip content * * ``` * * @attr {string} id - The item ID. * @attr {number | null} delay - Set the delay for the tooltip to appear. * @attr {string} positioning - Set the positioning of the tooltip relative to the anchor element. * @attr {string} anchor - The id of the anchor element for the tooltip. * * @prop {string} id - The item ID. * @prop {number | null} delay - Set the delay for the tooltip to appear. * @prop {string} positioning - Set the positioning of the tooltip relative to the anchor element. * @prop {string} anchor - The id of the anchor element for the tooltip. * * @slot - The default slot for the tooltip content. * * @cssprop --block-offset - Offset applied along the block axis for tooltip positioning. * @cssprop --inline-offset - Offset applied along the inline axis for tooltip positioning. * @cssprop --position-area - CSS position area used to place the tooltip. * @cssprop --position-try-options - CSS position-try options for tooltip fallback placement. * * @extends FluentTooltip * @tagname fabric-tooltip * @public */ export declare class Tooltip extends FluentTooltip { private showTimer; private hideTimer; private static readonly DEFAULT_DELAY; /** * Resolves the anchor element from the DOM. */ private get resolvedAnchorElement(); disconnectedCallback(): void; /** * Shows the tooltip after the specified delay. * Cancels any pending hide timer to prevent conflicts. * @param delay - Number of milliseconds to delay showing the tooltip * @internal */ showTooltip(delay?: number): void; /** * Hides the tooltip after the specified delay. * Cancels any pending show timer so the tooltip won't appear after the mouse leaves. * @param delay - Number of milliseconds to delay hiding the tooltip * @internal */ hideTooltip(delay?: number): void; } //# sourceMappingURL=tooltip.d.ts.map