///
import { RefObject, ComponentClass, Component } from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { Placement, Point, Rect, Size } from './Types.js';
type RefType = RefObject | ComponentClass | null>;
export declare function getRectForRef(ref: RefType): Promise;
export declare function waitForChange(getFirst: () => Promise, getSecond: () => Promise): Promise;
export declare function waitForNewRect(ref: RefType, initialRect: Rect): Promise;
export declare function sizeChanged(a: Size | null, b: Size | null): boolean;
export declare function rectChanged(a: Rect | null, b: Rect | null): boolean;
export declare function pointChanged(a: Point, b: Point): boolean;
export declare function getArrowSize(placement: Placement, arrowStyle: StyleProp): Size;
export declare function getBorderRadius(popoverStyle: StyleProp): number;
export declare function getChangedProps(props: Record, prevProps: Record, importantProps: string[]): string[];
export {};