import type { TipAdvisorAPI } from '../types/tipAdvisor'; /** * Hook for programmatic control of the TipAdvisor component. * * This hook provides a ref that can be passed to a TipAdvisor component * to control it from a parent component. * * @example * ```tsx * function App() { * const advisor = useTipAdvisor(); * * return ( * * * * * * ); * } * ``` */ export declare function useTipAdvisor(): { /** Ref to pass to TipAdvisor component */ ref: import("react").RefObject; /** Open the TipAdvisor */ open: () => void; /** Close the TipAdvisor */ close: () => void; /** Toggle the TipAdvisor */ toggle: () => void; }; //# sourceMappingURL=useTipAdvisor.d.ts.map