type TrackOverflowParent = HTMLElement | undefined | null;
type TrackOverflowChildren = {
    first: HTMLElement | undefined | null;
    last: HTMLElement | undefined | null;
};
/**
 * Tracks if an element contains overflow and on which end by tracking the
 * first and last child elements with an `IntersectionObserver` in relation
 * to the parent element.
 *
 * Note that the returned value will only indicate whether the first or last
 * element is currently "going out of bounds" but not whether it happens on
 * the X or Y axis.
 *
 * @param parent   - The parent element to observe.
 * @param children - The first and last child elements to observe.
 * @returns An object containing `first` and `last` boolean values indicating
 *          whether the first or last child is overflowing the parent.
 */
export declare function useTrackOverflow(parent: TrackOverflowParent, children: TrackOverflowChildren): {
    first: boolean;
    last: boolean;
};
export {};
//# sourceMappingURL=use-track-overflow.d.ts.map