interface ClientXY { x: number; y: number; } /** * Gets the client (x, y) coordinates of the specified element relative to the viewport. * * @example * const el = document.createElement('div') * document.body.appendChild(el) * const bounds = getBoundingClientPosition(el) * bounds // => { x: 0, y: 0 } * * @param ele The element to get the bounding client for. * @returns The client (x, y) coordinates of the element. * * @since 1.0.0 */ declare const getBoundingClientPosition: (ele: HTMLElement) => ClientXY; export default getBoundingClientPosition;