interface Size { width: number; height: number; } export declare enum FramePoint { Left = "left", Right = "right", CenterX = "centerX", Width = "width", Top = "top", Bottom = "bottom", CenterY = "centerY", Height = "height" } export declare function isFramePoint(s: string): s is FramePoint; export declare const HorizontalFramePoints: FramePoint[]; export declare const HorizontalFramePointsExceptSize: FramePoint[]; export declare const VerticalFramePoints: FramePoint[]; export declare const VerticalFramePointsExceptSize: FramePoint[]; export declare const AllFramePoints: FramePoint[]; export declare const AllFramePointsExceptSize: FramePoint[]; export declare type FramePoints = { [framePoint: string]: number; }; export declare type FramePin = string | number; export declare function isPercentPin(pin: FramePin): boolean; export declare function numberPartOfPin(pin: FramePin): number; export interface Frame { left?: FramePin; right?: FramePin; centerX?: FramePin; width?: FramePin; top?: FramePin; bottom?: FramePin; centerY?: FramePin; height?: FramePin; } export interface PinFrameProps { left?: number; right?: number; centerX?: number; width?: number; top?: number; bottom?: number; centerY?: number; height?: number; } export interface NormalisedFrame { left: number; top: number; width: number; height: number; } export declare function toNormalisedFrame(frame: Frame, parentFrame: NormalisedFrame): NormalisedFrame; export declare function toAbsoluteFrame(normalisedFrame: NormalisedFrame, parentFrame: NormalisedFrame): NormalisedFrame; export declare function zeroIfNegative(n: number): number; export declare function referenceParentValueForProp(prop: FramePoint, parentSize: Size): number; export declare function isHorizontalPoint(point: FramePoint): boolean; export declare function valueToUseForPin(prop: FramePoint, absoluteValue: number, pinIsPercentPin: boolean, parentRect: Size): string | number; export {};