import type { UseTipMagicReturn } from '../types'; /** * Main hook to interact with TipMagic programmatically * * Provides access to both the Tooltip and Helper APIs for controlling * tooltips and guided tours/flows. * * @example * ```tsx * function MyComponent() { * const { tooltip, helper } = useTipMagic(); * * const handleClick = () => { * tooltip.show('#my-element', 'Custom tooltip content'); * }; * * return ; * } * ``` * * @example * ```tsx * // With options * tooltip.show('#my-element', { * content: 'Tooltip with options', * maxLines: 2, * ellipsis: true, * wordWrap: true, * }); * ``` * * @example * ```tsx * // Start a guided tour * helper.startFlow([ * { id: 'step-1', targetId: 'nav', message: 'Navigate here' }, * { id: 'step-2', targetId: 'search', message: 'Search for items' }, * ]); * ``` */ export declare function useTipMagic(): UseTipMagicReturn; //# sourceMappingURL=useTipMagic.d.ts.map