export interface Position { top: number; left: number; } export interface Size { height: number; width: number; } export declare type PositionSize = Position & Size; export declare function parsePositionSize(raw: { top?: any; left?: any; width?: any; height?: any; }): PositionSize; export declare function centerOnParent(size: Size, parent: PositionSize): Position;