/**
 * 滚动指定元素, 到指定容器的指定百分比位置
 *
 * @param targetElement 将要滚动的元素
 * @param [container = window] 滚动元素参照的父容器
 * @param [scrollPercent = .5] 滚动的百分比, 范围 [0~1]
 *
 * @example
 * const targetContainer = document.querySelector( '.item' );
 * scroll( targetContainer, targetContainer.parentElement, .5 );
 */
export declare function scroll(targetElement: HTMLElement, container: HTMLElement | Window, scrollPercent?: number): void;
/**
 * 滚动页面到指定百分比
 *
 * @param [scrollPercent = .5] 滚动的百分比, 范围 [0~1]
 *
 * @example scroll( 0 );  // 滚动页面到顶部
 * @example scroll( 1 );  // 滚动页面到底部
 */
export declare function scroll(scrollPercent?: number): void;
