export declare namespace layout { const MODE_SHIFT = 30; const MODE_MASK: number; const UNSPECIFIED: number; const EXACTLY: number; const AT_MOST: number; const MEASURED_HEIGHT_STATE_SHIFT = 16; const MEASURED_STATE_TOO_SMALL = 16777216; const MEASURED_STATE_MASK = 4278190080; const MEASURED_SIZE_MASK = 16777215; function getMode(mode: number): string; function getMeasureSpecMode(spec: number): number; function getMeasureSpecSize(spec: number): number; function makeMeasureSpec(size: number, mode: number): number; function getDisplayDensity(): number; function toDevicePixels(value: number): number; function toDeviceIndependentPixels(value: number): number; function round(value: number): number; function measureNativeView(nativeView: any, width: number, widthMode: number, height: number, heightMode: number): { width: number; height: number; }; function measureSpecToString(measureSpec: number): string; }