/** * Gets the offset (left, top) position of the specified element relative to its parent element. * * @example * const el = document.createElement('div') * document.body.appendChild(el) * const offset = getOffsetPosition(el) * console.log(offset.left, offset.top) * * @param ele The element to get the offset position for. * @returns The offset (left, top) position of the element relative to its parent. * * @since 1.0.0 */ declare const getOffsetPosition: (ele: HTMLElement) => { left: number; top: number; }; export default getOffsetPosition;