import type { Attachment } from 'svelte/attachments'; import type { SyvStyles } from '../types'; export interface TooltipProps { html?: string; x?: number; y?: number; state?: 'fade'; styles?: SyvStyles<'background' | 'border-radius' | 'padding' | 'text-color' | 'text-size'>; onmouseenter?(event: MouseEvent): void; onmouseleave?(event: MouseEvent): void; } declare const OPTIONS: Pick; export declare function dismount(): void; export declare function mount(anchor: HTMLElement, html?: TooltipProps['html']): void; export declare function setup(options?: typeof OPTIONS): Attachment; export declare function shift(props: TooltipProps): void; export {};