import { Action } from 'hyperapp'; interface OnLinkEnteredViewPortArgs { selector: string; action: Action; } /** * Every time a "Link" component enters the viewport, * trigger the given action with the link's path as params */ declare const onLinkEnteredViewPort: ({ selector, action }: OnLinkEnteredViewPortArgs) => Action[]; export default onLinkEnteredViewPort;