/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ export declare function getClientSize(): { width: number; height: number; }; export declare function getFixScaleEleTransPosition(width: number, height: number, left: number, top: number): null | { x: number; y: number; }; declare type SetActionType = Partial | ((state: T) => Partial); export declare function useFrameSetState(initial: T): [T, (newState: SetActionType) => void]; export declare function addEventListener(target: any, eventType: string, cb: (a: any) => any, option: boolean): { remove: () => void; }; export declare function getOffset(node: Element): { left: number; top: number; }; export {};