import { TransformFunctionsInfo } from '../animation'; import { CoreTypes } from '../../core-types'; import { Color } from '../../color'; import { CssProperty, CssAnimationProperty, ShorthandProperty, InheritedCssProperty } from '../core/properties'; import { Style } from '../styling/style'; import { Font, FontStyle, FontWeight } from './font'; import { Background } from './background'; export namespace Length { export function parse(text: string): CoreTypes.LengthType; export function equals(a: CoreTypes.LengthType, b: CoreTypes.LengthType): boolean; /** * Converts Length unit to device pixels. * @param length The Length to convert. * @param auto Value to use for conversion of "auto". By default is Math.NaN. */ export function toDevicePixels(length: CoreTypes.LengthType, auto?: number): number; export function convertToString(length: CoreTypes.LengthType): string; } export namespace PercentLength { export function parse(text: string): CoreTypes.PercentLengthType; export function equals(a: CoreTypes.PercentLengthType, b: CoreTypes.PercentLengthType): boolean; /** * Converts PercentLengthType unit to device pixels. * @param length The PercentLengthType to convert. * @param auto Value to use for conversion of "auto". By default is Math.NaN. * @param parentAvailableWidth Value to use as base when converting percent unit. By default is Math.NaN. */ export function toDevicePixels(length: CoreTypes.PercentLengthType, auto?: number, parentAvailableWidth?: CoreTypes.px): number; export function convertToString(length: CoreTypes.PercentLengthType): string; } export const zeroLength: CoreTypes.LengthType; export const rotateProperty: CssAnimationProperty; export const scaleXProperty: CssAnimationProperty; export const scaleYProperty: CssAnimationProperty; export const translateXProperty: CssAnimationProperty; export const translateYProperty: CssAnimationProperty; export function transformConverter(text: string): TransformFunctionsInfo; export const clipPathProperty: CssProperty; export const colorProperty: InheritedCssProperty; export const backgroundProperty: ShorthandProperty; export const backgroundColorProperty: CssAnimationProperty; export const backgroundImageProperty: CssProperty; export const backgroundRepeatProperty: CssProperty; export const backgroundSizeProperty: CssProperty; export const backgroundPositionProperty: CssProperty; export const borderColorProperty: ShorthandProperty; export const borderTopColorProperty: CssProperty; export const borderRightColorProperty: CssProperty; export const borderBottomColorProperty: CssProperty; export const borderLeftColorProperty: CssProperty; export const borderWidthProperty: ShorthandProperty; export const borderTopWidthProperty: CssProperty; export const borderRightWidthProperty: CssProperty; export const borderBottomWidthProperty: CssProperty; export const borderLeftWidthProperty: CssProperty; export const borderRadiusProperty: ShorthandProperty; export const borderTopLeftRadiusProperty: CssProperty; export const borderTopRightRadiusProperty: CssProperty; export const borderBottomRightRadiusProperty: CssProperty; export const borderBottomLeftRadiusProperty: CssProperty; export const zIndexProperty: CssProperty; export const visibilityProperty: CssProperty; export const opacityProperty: CssAnimationProperty; export const minWidthProperty: CssProperty; export const minHeightProperty: CssProperty; export const widthProperty: CssAnimationProperty; export const heightProperty: CssAnimationProperty; export const lineHeightProperty: CssProperty; export const marginProperty: ShorthandProperty; export const marginLeftProperty: CssProperty; export const marginRightProperty: CssProperty; export const marginTopProperty: CssProperty; export const marginBottomProperty: CssProperty; export const paddingProperty: ShorthandProperty; export const paddingLeftProperty: CssProperty; export const paddingRightProperty: CssProperty; export const paddingTopProperty: CssProperty; export const paddingBottomProperty: CssProperty; export const horizontalAlignmentProperty: CssProperty; export const verticalAlignmentProperty: CssProperty; export const fontSizeProperty: InheritedCssProperty; export const fontFamilyProperty: InheritedCssProperty; export const fontStyleProperty: InheritedCssProperty; export const fontWeightProperty: InheritedCssProperty; export const backgroundInternalProperty: CssProperty; export const fontInternalProperty: InheritedCssProperty; export const androidElevationProperty: CssProperty; export const androidDynamicElevationOffsetProperty: CssProperty;