/** * Action that allows calling a function when an element appears in the viewport. * Uses the IntersectionObserver API, which might not be available in older browsers like IE11. * If it is not available, the action will be silently ignored. * @param {Element} node The HTML element to be observed * @param {{ callback: (...args: any[]) => void; args?: any[] }} options Callback and its args * @returns {{ destroy: () => void }} */ export default function callOnSight(node: Element, { callback, args }: { callback: (...args: any[]) => void; args?: any[] | undefined; }): { destroy: () => void; }; //# sourceMappingURL=call-on-sight.d.ts.map