import * as Popper from '@popperjs/core'; type PopoverPlacement = 'auto' | 'top' | 'bottom' | 'left' | 'right'; type Offset = [number, number]; type OffsetFunction = () => Offset; type PopperConfigFunction = (defaultBsPopperConfig: Popper.Options) => Partial; type SetContentFunction = () => string | Element | (() => string | Element | null) | null; export interface TooltipOptions { animation: boolean; container: string | Element | false; delay: number | { show: number; hide: number; }; html: boolean; placement: PopoverPlacement | (() => PopoverPlacement); selector: string | false; template: string; title: string | Element | ((this: HTMLElement) => string | Element); trigger: 'click' | 'hover' | 'focus' | 'manual' | 'click hover' | 'click focus' | 'hover focus' | 'click hover focus'; offset: Offset | string | OffsetFunction; fallbackPlacements: string[]; boundary: Popper.Boundary; customClass: string | (() => string); sanitize: boolean; allowList: Record>; sanitizeFn: (() => void) | null; popperConfig: Partial | PopperConfigFunction | null; } export interface TooltipInstance { show(): void; hide(): void; toggle(event?: any): void; enable(): void; disable(): void; toggleEnabled(): void; update(): void; setContent(content?: Record): void; dispose(): void; } declare enum TooltipEvents { show = "show.bs.tooltip", shown = "shown.bs.tooltip", hide = "hide.bs.tooltip", hidden = "hidden.bs.tooltip", inserted = "inserted.bs.tooltip" } export interface TooltipClass { readonly VERSION: string; readonly DATA_KEY: string; readonly EVENT_KEY: string; new (element: Element | string, options?: Partial): TooltipInstance; getInstance(element: Element | string): TooltipInstance | null; getOrCreateInstance(element: Element | string, config?: Partial): TooltipInstance; Default: TooltipOptions; NAME: 'tooltip'; Event: Record<'CLICK' | 'FOCUSIN' | 'FOCUSOUT' | 'HIDDEN' | 'HIDE' | 'INSERTED' | 'MOUSEENTER' | 'MOUSELEAVE' | 'SHOW' | 'SHOWN', string>; DefaultType: Record; SetContentFunction: SetContentFunction; Events: typeof TooltipEvents; } declare const Tooltip: TooltipClass; export default Tooltip; //# sourceMappingURL=tooltip.d.ts.map