import * as react from 'react'; import { ReactElement, ComponentType, Ref, FC, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, ReactNode, ForwardedRef, RefObject, FunctionComponentElement, PropsWithChildren } from 'react'; import { Role, ImageRequireSource, ScrollViewProps } from 'react-native'; import { Path, LayoutEvent, DistributiveOmit, DeepWritable, DeepPartial, TargetElement, Either } from '@vibrant-ui/utils'; export { LayoutEvent } from '@vibrant-ui/utils'; import { GradientKind, LinearGradient, Theme, Rounded, ColorToken, OpacityToken, ElevationLevel, BoxShadow, NativeShadow, OnColorToken, TypographyKind, TypographyWeight, CurrentTheme, ThemeMode } from '@vibrant-ui/theme'; type ReactElementChild = ReactElement | false | null | undefined; type ReactElementChildren = ReactElementChild | ReactElementChildren[]; type ReactTextChild = number | string | false | null | undefined; type ReactTextChildren = ReactTextChild | ReactTextChildren[]; type Primitive = boolean | number | string; type ResponsiveValue = Value | Value[]; type UnResponsiveValue = Value extends (infer T)[] ? (T extends any[] ? T : never) : Value; type WindowDimensions = { width: number; height: number; }; type BackgroundSystemProps = { background?: ResponsiveValue; backgroundColor?: ResponsiveValue; backgroundImage?: ResponsiveValue; backgroundSize?: ResponsiveValue<'auto' | 'contain' | 'cover'>; backgroundPosition?: ResponsiveValue<'bottom' | 'center' | 'left' | 'right' | 'top'>; backgroundRepeat?: ResponsiveValue<'no-repeat' | 'repeat-x' | 'repeat-y' | 'repeat' | 'round' | 'space'>; gradient?: ResponsiveValue; linearGradient?: ResponsiveValue>; backdropBlurRadius?: ResponsiveValue; }; type SystemPropThemeScale = Extract, 'borderRadius' | 'colors' | 'elevation' | 'gradient' | 'opacity' | 'typography' | 'typographyWeight'>; type SystemPropConfig = { property: string; styleProperty?: string; scale?: SystemPropThemeScale; shouldInterpolation?: 'after' | 'before' | false; disabled?: boolean; transform?: (value: any) => Record | undefined; }; type SystemProp = { (value: any, theme: Record, interpolation?: (props: any) => any): Record[]; propName: string; disabled: boolean; }; declare const createSystemProp: (config: SystemPropConfig) => SystemProp; type BorderStyle = 'dashed' | 'none' | 'solid'; type BorderSystemProps = { borderWidth?: ResponsiveValue; borderStyle?: ResponsiveValue; borderColor?: ResponsiveValue; borderTopWidth?: ResponsiveValue; borderTopStyle?: ResponsiveValue; borderTopColor?: ResponsiveValue; borderRightWidth?: ResponsiveValue; borderRightStyle?: ResponsiveValue; borderRightColor?: ResponsiveValue; borderBottomWidth?: ResponsiveValue; borderBottomStyle?: ResponsiveValue; borderBottomColor?: ResponsiveValue; borderLeftWidth?: ResponsiveValue; borderLeftStyle?: ResponsiveValue; borderLeftColor?: ResponsiveValue; borderRadius?: ResponsiveValue; borderTopLeftRadius?: ResponsiveValue; borderTopRightRadius?: ResponsiveValue; borderBottomLeftRadius?: ResponsiveValue; borderBottomRightRadius?: ResponsiveValue; rounded?: ResponsiveValue; roundedTopLeft?: ResponsiveValue; roundedTopRight?: ResponsiveValue; roundedBottomLeft?: ResponsiveValue; roundedBottomRight?: ResponsiveValue; borderCollapse?: ResponsiveValue<'collapse' | 'separate'>; outlineWidth?: ResponsiveValue; outlineStyle?: ResponsiveValue<'none' | 'solid'>; outlineColor?: ResponsiveValue; outlineOffset?: ResponsiveValue; }; type ColorSystemProps = { color?: ResponsiveValue; }; type DisplaySystemProps = { display?: ResponsiveValue<'flex' | 'inline-flex' | 'none' | 'web_block' | 'web_grid' | 'web_table-cell' | 'web_table-row-group' | 'web_table-row' | 'web_table'>; visibility?: ResponsiveValue<'hidden' | 'inherit' | 'visible'>; opacity?: ResponsiveValue; hidden?: ResponsiveValue; tableLayout?: ResponsiveValue<'auto' | 'fixed'>; writingMode?: ResponsiveValue<'horizontal-tb' | 'vertical-lr' | 'vertical-rl'>; }; type ElevationSystemProps = { elevationLevel?: ResponsiveValue; boxShadow?: ResponsiveValue; nativeShadow?: ResponsiveValue; }; type FlexboxSystemProps = { flex?: ResponsiveValue; flexGrow?: ResponsiveValue; flexShrink?: ResponsiveValue; flexBasis?: ResponsiveValue; flexDirection?: ResponsiveValue<'column-reverse' | 'column' | 'row-reverse' | 'row'>; flexWrap?: ResponsiveValue<'nowrap' | 'wrap-reverse' | 'wrap'>; alignContent?: ResponsiveValue<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'normal' | 'space-around' | 'space-between' | 'space-evenly' | 'stretch'>; alignItems?: ResponsiveValue<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'normal' | 'self-end' | 'self-start' | 'stretch'>; alignSelf?: ResponsiveValue<'auto' | 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'normal' | 'self-end' | 'self-start' | 'stretch'>; justifyContent?: ResponsiveValue<'center' | 'flex-end' | 'flex-start' | 'left' | 'normal' | 'right' | 'space-around' | 'space-between' | 'space-evenly' | 'stretch'>; justifyItems?: ResponsiveValue<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'left' | 'legacy' | 'normal' | 'right' | 'self-end' | 'self-start' | 'stretch'>; justifySelf?: ResponsiveValue<'auto' | 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'left' | 'normal' | 'right' | 'self-end' | 'self-start' | 'stretch'>; order?: ResponsiveValue; gap?: ResponsiveValue; rowGap?: ResponsiveValue; columnGap?: ResponsiveValue; }; type InputSystemProps = { placeholderColor?: ResponsiveValue; hideInputSpinButton?: ResponsiveValue; textAlign?: ResponsiveValue<'center' | 'end' | 'justify' | 'left' | 'match-parent' | 'right' | 'start'>; }; type HitSlopRect = { top?: number; bottom?: number; left?: number; right?: number; }; type InteractionSystemProps = { cursor?: ResponsiveValue<'default' | 'pointer' | 'text'>; pointerEvents?: ResponsiveValue<'auto' | 'none'>; hitSlop?: ResponsiveValue; tabIndex?: -1 | 0; }; type OverflowSystemProps = { overflow?: ResponsiveValue<'hidden' | 'visible'>; }; type PositionSystemProps = { position?: ResponsiveValue<'absolute' | 'fixed' | 'relative' | 'web_static' | 'web_sticky'>; top?: ResponsiveValue; right?: ResponsiveValue; bottom?: ResponsiveValue; left?: ResponsiveValue; zIndex?: ResponsiveValue; }; type PseudoClassSystemProps = { pseudoHover?: ResponsiveValue; pseudoFocus?: ResponsiveValue; pseudoActive?: ResponsiveValue; pseudoBefore?: ResponsiveValue; pseudoAfter?: ResponsiveValue; pseudoPlaceholder?: ResponsiveValue; }; type SizingSystemProps = { width?: ResponsiveValue; minWidth?: ResponsiveValue; maxWidth?: ResponsiveValue; height?: ResponsiveValue; minHeight?: ResponsiveValue; maxHeight?: ResponsiveValue; boxSizing?: 'border-box' | 'content-box'; aspectRatio?: ResponsiveValue; }; type SpacingSystemProps = { m?: ResponsiveValue; mt?: ResponsiveValue; mr?: ResponsiveValue; mb?: ResponsiveValue; ml?: ResponsiveValue; my?: ResponsiveValue; mx?: ResponsiveValue; p?: ResponsiveValue; pt?: ResponsiveValue; pr?: ResponsiveValue; pb?: ResponsiveValue; pl?: ResponsiveValue; py?: ResponsiveValue; px?: ResponsiveValue; }; type SvgSystemProps = { fill?: ResponsiveValue; stroke?: ResponsiveValue; }; type TextShadow = { color?: string; offsetX?: number; offsetY?: number; blurRadius?: number; }; type TextSystemProps = { letterSpacing?: ResponsiveValue; textAlign?: ResponsiveValue<'center' | 'end' | 'justify' | 'left' | 'match-parent' | 'right' | 'start'>; textTransform?: ResponsiveValue<'capitalize' | 'full-size-kana' | 'full-width' | 'lowercase' | 'none' | 'uppercase'>; whiteSpace?: ResponsiveValue<'break-spaces' | 'normal' | 'nowrap' | 'pre-line' | 'pre-wrap' | 'pre'>; wordBreak?: ResponsiveValue<'break-all' | 'break-word' | 'keep-all' | 'normal'>; wordWrap?: ResponsiveValue<'break-word' | 'normal'>; overflowWrap?: ResponsiveValue<'anywhere' | 'break-word' | 'normal'>; textDecorationLine?: ResponsiveValue<'line-through' | 'none' | 'underline line-through' | 'underline'>; lineLimit?: ResponsiveValue; textShadow?: ResponsiveValue; }; type Transform = { rotate?: string; rotateX?: string; rotateY?: string; rotateZ?: string; scale?: number; scaleX?: number; scaleY?: number; translateX?: number; translateY?: number; skewX?: string; skewY?: string; }; type TransformSystemProps = { transform?: ResponsiveValue; }; type TypographySystemProps = { typography?: ResponsiveValue; fontFamily?: ResponsiveValue; fontSize?: ResponsiveValue; fontWeight?: ResponsiveValue; fontStyle?: ResponsiveValue<'italic' | 'normal' | 'oblique'>; lineHeight?: ResponsiveValue; }; type AllSystemProps = BackgroundSystemProps & BorderSystemProps & ColorSystemProps & DisplaySystemProps & ElevationSystemProps & FlexboxSystemProps & InputSystemProps & InteractionSystemProps & OverflowSystemProps & PositionSystemProps & PseudoClassSystemProps & SizingSystemProps & SpacingSystemProps & SvgSystemProps & TextSystemProps & TransformSystemProps & TypographySystemProps; type MediaSystemProps = { objectFit?: ResponsiveValue<'contain' | 'cover' | 'fill' | 'none'>; }; type GridSystemProps = { gridTemplateColumns?: ResponsiveValue; gridTemplateRows?: ResponsiveValue; gridColumn?: ResponsiveValue; gridRow?: ResponsiveValue; }; type ScrollSystemProps = { scrollSnap?: ResponsiveValue; horizontal?: ResponsiveValue; hideScroll?: ResponsiveValue; scrollPaddingTop?: ResponsiveValue; scrollPaddingLeft?: ResponsiveValue; scrollPaddingRight?: ResponsiveValue; scrollPaddingBottom?: ResponsiveValue; }; type ScrollItemSystemProps = { scrollSnapStop?: ResponsiveValue; snapAlignment?: ResponsiveValue<'center' | 'end' | 'start'>; }; type SystemProps$4 = BackgroundSystemProps & BorderSystemProps & ColorSystemProps & DisplaySystemProps & ElevationSystemProps & FlexboxSystemProps & InputSystemProps & InteractionSystemProps & OverflowSystemProps & PositionSystemProps & PseudoClassSystemProps & SizingSystemProps & SpacingSystemProps & SvgSystemProps & TextSystemProps & TypographySystemProps & TransformSystemProps & MediaSystemProps & GridSystemProps & ScrollItemSystemProps; type BoxElements = 'a' | 'article' | 'aside' | 'button' | 'circle' | 'clipPath' | 'defs' | 'div' | 'footer' | 'form' | 'g' | 'header' | 'img' | 'input' | 'label' | 'li' | 'linearGradient' | 'main' | 'mask' | 'nav' | 'ol' | 'path' | 'section' | 'span' | 'stop' | 'svg' | 'table' | 'tbody' | 'td' | 'th' | 'thead' | 'tr' | 'ul'; type ComponentProps | undefined> = Component extends undefined ? undefined : Component extends ComponentType ? ComponentProps : undefined; type BoxProps | undefined = undefined, ElementName extends BoxElements | undefined = undefined> = SystemProps$4 & { as?: ElementName; base?: BaseComponent; id?: string; role?: Role; ariaLabel?: string; ariaChecked?: boolean; ariaLabelledBy?: string; ariaCurrent?: 'date' | 'location' | 'page' | 'step' | 'time' | 'true'; ariaSelected?: boolean; onLayout?: (layoutEvent: LayoutEvent) => void; } & DistributiveOmit extends undefined ? (ElementName extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[ElementName] : Record) & { ref?: Ref; children?: ReactElementChildren; } : Omit, 'onLayout'>, keyof SystemProps$4>; declare const Box: | undefined = undefined, ElementName extends BoxElements | undefined = undefined>(props: BoxProps) => ReactElement; type StrokeProps = { strokeWidth?: number; strokeOpacity?: number; strokeDasharray?: number; strokeDashoffset?: number; strokeLinecap?: 'round' | 'square'; }; type CircleProps = SvgSystemProps & StrokeProps & { cx?: number | string; cy?: number | string; r?: number | string; }; type ClipPathProps = { id?: string; children?: ReactElementChild | ReactElementChild[]; }; type DefsProps = { id?: string; children?: ReactElementChild | ReactElementChild[]; }; type GProps = { clipPath?: string; children?: ReactElementChild | ReactElementChild[]; }; type LinearGradientProps = { gradientTransform?: string; }; type MaskProps = { id?: string; children?: ReactElementChild | ReactElementChild[]; }; type PathProps = StrokeProps & { d?: string; fillRule?: 'evenodd' | 'nonzero'; clipRule?: 'evenodd' | 'nonzero'; children?: ReactElementChild | ReactElementChild[]; }; type StopProps = { offset?: number; stopColor?: string; }; type SvgProps = Pick & SvgSystemProps & { viewBox?: string; children?: ReactElementChild | ReactElementChild[]; }; type SvgComponentType = FC & { ClipPath: FC; Defs: FC; G: FC; LinearGradient: FC; Mask: FC; Path: FC; Stop: FC; Circle: FC; }; declare const Svg: SvgComponentType; type SystemProps$3 = ColorSystemProps & DisplaySystemProps & Pick & PositionSystemProps & SpacingSystemProps & TextSystemProps & TypographySystemProps & SizingSystemProps; type TextElements = 'br' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'p' | 'span'; type TextChildren = ReactElementChild | ReactTextChild | TextChildren[]; type TextProps = SystemProps$3 & { as?: TextElements; id?: string; children?: TextChildren; onCopy?: () => void; ref?: Ref; }; declare const Text: FC; type SystemProps$2 = BackgroundSystemProps & BorderSystemProps & ColorSystemProps & DisplaySystemProps & InputSystemProps & SpacingSystemProps & SizingSystemProps & TypographySystemProps; type TextInputType = 'email' | 'number' | 'password' | 'search' | 'text' | 'url'; type EnterKeyType = 'done' | 'go' | 'next' | 'search' | 'send'; type TextInputRef = { focus: () => void; blur: () => void; clear: () => void; isFocused: () => boolean; }; declare const HTMLAutoCompleteOptions: { readonly none: "off"; readonly email: "email"; readonly password: "current-password"; readonly newPassword: "new-password"; readonly name: "name"; readonly username: "username"; readonly familyName: "family-name"; readonly givenName: "given-name"; readonly middleName: "additional-name"; readonly namePrefix: "honorific-prefix"; readonly nameSuffix: "honorific-suffix"; readonly ccNumber: "cc-number"; readonly postalCode: "postal-code"; readonly addressCountry: "country"; readonly addressRegion: "address-level1"; readonly addressStreet: "address-line1"; readonly tel: "tel"; readonly addressCity: "address-level2"; readonly addressExtended: "address-line2"; readonly birthDayDay: "bday-day"; readonly birthDayFull: "bday"; readonly birthDayMonth: "bday-month"; readonly birthDayYear: "bday-year"; readonly ccCsc: "cc-csc"; readonly ccExp: "cc-exp"; readonly ccExpMonth: "cc-exp-month"; readonly ccExpYear: "cc-exp-year"; readonly otp: "one-time-code"; }; type AutoCapitalizeOption = 'characters' | 'none' | 'sentences' | 'words'; type AutoCompleteOption = keyof typeof HTMLAutoCompleteOptions; type TextInputProps = SystemProps$2 & ({ type: Exclude; min?: never; max?: never; pattern?: RegExp; } | { type: Extract; min?: number; max?: number; pattern?: never; }) & { enterKeyType?: EnterKeyType; defaultValue?: string; placeholder?: string; maxLength?: number; autoFocus?: boolean; tabIndex?: number; readOnly?: boolean; disabled?: boolean; hidden?: boolean; focusStyle?: SystemProps$2; autoCapitalize?: AutoCapitalizeOption; autoComplete?: AutoCompleteOption; cursor?: number; onFocus?: () => void; onBlur?: () => void; onKeyPress?: ({ key, prevent }: { key: string; prevent: () => void; }) => void; onValueChange?: ({ value, prevent, target, }: { value: string; prevent: () => void; target?: HTMLInputElement | null; }) => void; onSubmit?: (value: string) => void; /** * Vertically align text when `multiline` is set to true. * on Android only. */ textAlignVertical?: 'auto' | 'bottom' | 'center' | 'top'; }; declare const TextInput: react.ForwardRefExoticComponent>; type VariantFn = (props: PrevProps) => NextProps; type IsNullable = Value extends undefined ? true : false; type IsResponsiveValue = 1 | 2 extends (Value extends any[][] ? 1 : Value extends any[] ? 2 : Value extends any ? 1 : false) ? true : false; type BooleanToKey = false extends Prop ? 'false' : Prop | true extends Prop ? 'true' : Prop; type PropConfig = { name: PropKey; keep?: boolean; } & (IsNullable extends true ? { default: Props[PropKey]; } : { default?: Props[PropKey]; }) & (IsResponsiveValue extends true ? { responsive: true; } : { responsive?: false; }); type AnyPropConfig = { [PropKey in keyof Props]-?: PropConfig; }[keyof Props]; type IncludeResponsiveProp = PropsConfig extends [infer First, ...infer Rest] ? First extends { responsive: true; } ? true : IncludeResponsiveProp : false; type VariantsReturnProps = Variants extends (args: any) => infer FnResult ? VariantsValue : Variants extends infer F ? keyof F extends infer K ? F extends { [k in K & (number | string | symbol)]: infer O; } ? VariantsValue : unknown : unknown : unknown; type VariantsValue = { [key in keyof Value]: Value[key] extends undefined ? Value[key] : DeepWritable extends true ? ResponsiveValue : Value[key]>; }; type VariantsFnProps[]> = { [K in PropsConfig[number] as K extends { name: infer Name; } ? Name extends keyof Props ? Name : never : never]: K extends { name: infer Name; } ? Name extends keyof Props ? Exclude, K extends { default: any; } ? undefined : never> : never : never; }; type SkipForwards = PropsConfig extends [infer First, ...infer Rest] ? First extends { name: infer P; } ? First extends { keep: true; } ? SkipForwards : Omit, P & (number | string | symbol)> : Props : Props; type VariantsConfig[], VariantsReturn = Record> = PropsConfig extends readonly [infer First, ...infer Rest] ? Rest extends [any] ? (props: VariantsFnProps) => VariantsReturn : First extends { name: keyof Props; } ? Record>, VariantsReturn> | ((props: VariantsFnProps) => VariantsReturn) : unknown : unknown; declare function propVariant, const PropsConfig extends readonly AnyPropConfig[], Variants extends VariantsConfig>({ props, variants, }: { props: readonly [...PropsConfig]; variants: Variants; }): VariantFn & VariantsReturnProps>; type WindowDimensionsContextValue = { width: number; height: number; }; declare const WindowDimensionsProvider: FC<{ children: ReactElementChild; }>; declare const useWindowDimensions: () => WindowDimensionsContextValue; type PickRefElement = Props extends { ref?: Ref; } ? Element : DefaultElement; type ComponentWithRef = ForwardRefExoticComponent & RefAttributes>>; type WithInnerRef = Props extends { ref?: infer RefValue; } ? Omit & { innerRef?: RefValue; } : Props; type ComponentWithInnerRef = FC>; type WithVariationFn = { (): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn, v4: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn, v4: VariantFn, v5: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn, v4: VariantFn, v5: VariantFn, v6: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn, v4: VariantFn, v5: VariantFn, v6: VariantFn, v7: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn, v4: VariantFn, v5: VariantFn, v6: VariantFn, v7: VariantFn, v8: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn, v4: VariantFn, v5: VariantFn, v6: VariantFn, v7: VariantFn, v8: VariantFn, v9: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; (v1: VariantFn, v2: VariantFn, v3: VariantFn, v4: VariantFn, v5: VariantFn, v6: VariantFn, v7: VariantFn, v8: VariantFn, v9: VariantFn, v10: VariantFn): (c: ComponentWithInnerRef) => ComponentWithRef; }; declare function withVariation(componentName: string): WithVariationFn; type ThemeProviderProps = { theme: DeepPartial; root?: boolean; children: ReactElementChild; }; declare const ThemeProvider: FC; declare const useCurrentTheme: ({ root }?: { root: boolean; }) => { theme: CurrentTheme; }; declare const useCurrentThemeMode: ({ root }?: { root: boolean; }) => { mode: ThemeMode; }; type OnColorContainerProps = { backgroundColor: ResponsiveValue; children: ReactElement; }; declare const OnColorContainer: FC; type Dependencies = { nativeLinearGradient?: ComponentType<{ colors: any; locations?: any; start?: any; end?: any; }>; nativeShadows?: ComponentType<{ shadows: { startColor?: any; distance?: any; offset?: any; }[]; }>; image?: ComponentType<{ src: ImageRequireSource | string; alt?: string; ref?: any; sizes?: ResponsiveValue; display?: ResponsiveValue<'flex' | 'none'>; draggable?: boolean; loading?: 'eager' | 'lazy'; onError?: () => void; onLoad?: () => void; } & SizingSystemProps & MediaSystemProps & BorderSystemProps>; link?: ComponentType<{ className?: string; href: string; ref?: any; target?: string; rel?: string; onClick?: () => void; onMouseEnter?: () => void; onMouseLeave?: () => void; onMouseDown?: (event?: { stopPropagation: () => void; }) => void; onMouseUp?: () => void; onFocus?: () => void; onBlur?: () => void; children?: ReactNode; }>; }; type Translation = { datePicker: { ariaLabel: string; }; calendar: { title: string; days: string[]; months: string[]; }; table: { numberOfSelected: string; }; tableFooter: { rowsPerPage: string; total: string; }; pagination: { ariaLabel: string; prev: string; next: string; }; tableFilterGroup: { add: string; initialize: string; delete: string; stringFilter: { filterLabel: { empty: string; notEmpty: string; }; operators: { equals: string; notEquals: string; contains: string; notContains: string; empty: string; notEmpty: string; }; }; dateFilter: { filterLabel: { equals: string; notEquals: string; before: string; after: string; onOrBefore: string; onOrAfter: string; empty: string; notEmpty: string; between: string; }; operators: { equals: string; notEquals: string; before: string; after: string; onOrBefore: string; onOrAfter: string; between: string; empty: string; notEmpty: string; }; }; multiSelectFilter: { reset: string; filterLabel: { contains: string; notContains: string; }; operators: { contains: string; notContains: string; }; }; resourceSelectFilter: { filterLabel: { contains: { overOne: string; one: string; }; notContains: string; }; }; }; drawer: { drawerHeader: { ariaLabel: string; }; }; }; type ConfigContextValue = { dependencies: Dependencies; translations: Translation; }; type ConfigProviderProps = { children: ReactElementChild; dependencies?: Dependencies; translations?: Partial; }; declare const ConfigProvider: FC; declare const useConfig: () => ConfigContextValue; type UseResponsiveValueProps = { useRootBreakPoints?: boolean; disabled?: boolean; }; declare const useResponsiveValue: ({ useRootBreakPoints }?: UseResponsiveValueProps) => { getResponsiveValue: (responsiveValue: ResponsiveValue) => Value; breakpointIndex: number; }; type VibrantProviderProps = Partial & { children: ReactElementChild; portalRootZIndex?: number; portalTopPriorityOrder?: string[]; portalBottomPriorityOrder?: string[]; }; declare const VibrantProvider: FC; type UnResponsiveValues>> = { [key in keyof Values]: UnResponsiveValue; }; type PickType> = Value extends { [key in Keys]?: any; } ? Value[Keys] : undefined; type AllKeys = Value extends any ? keyof Value : never; type MergeObjectToArrayValue = { [key in AllKeys]: PickType[]; }; declare function calculateResponsiveValues>, Result extends Record>(values: Values, fn: (value: UnResponsiveValues) => Result): MergeObjectToArrayValue; declare const getElementPosition: (ref: TargetElement) => Promise<{ top: number; left: number; bottom: number; right: number; width: number; height: number; }>; declare const toResponsiveValue: (value: ResponsiveValue, length: number) => Type[]; declare const transformResponsiveValue: (value: ResponsiveValue, transform: (value: Value) => TransformReturn) => ResponsiveValue; declare const useInterpolation: () => { useInterpolateStyle: (style: Record) => Record; }; declare function getWindowDimensions(): WindowDimensions; type ShadowComponentType = ComponentType<{ startColor?: any; distance?: any; offset?: any; viewStyle?: any; paintInside?: boolean; children?: ReactNode; }>; type ShadowsProps = { shadows: { startColor?: string; offset?: [number, number]; distance?: number; }[]; style?: any; children?: ReactElement; }; declare const createShadowsComponent: (ShadowComponent: ShadowComponentType) => react.ForwardRefExoticComponent>; type ImageComponentType = ComponentType<{ source?: ImageRequireSource | { uri?: string; }; resizeMode?: 'center' | 'contain' | 'cover' | 'stretch'; }>; type ImageProps$1 = { ref?: any; src: ImageRequireSource | string; } & MediaSystemProps; declare const createNativeImageComponent: (ImageComponent: ImageComponentType) => react.ForwardRefExoticComponent & react.RefAttributes>; type SystemProps$1 = BackgroundSystemProps & BorderSystemProps & ColorSystemProps & DisplaySystemProps & FlexboxSystemProps & InteractionSystemProps & OverflowSystemProps & PositionSystemProps & SizingSystemProps & SpacingSystemProps & TransformSystemProps; type PressableBoxProps = { ref?: Ref; disabled?: boolean; onClick?: () => void; onFocusIn?: () => void; onFocusOut?: () => void; onPressIn?: () => void; onPressOut?: () => void; onHoverIn?: () => void; onHoverOut?: () => void; children?: ReactElementChild | ReactElementChild[]; id?: string; role?: Role; ariaLabel?: string; ariaSelected?: boolean; ariaChecked?: boolean; ariaLabelledBy?: string; as?: BoxElements; buttonType?: 'button' | 'submit'; tabIndex?: -1 | 0; } & SystemProps$1; declare const PressableBox: ComponentWithRef; declare const PortalBox: ComponentWithRef & { onMount?: (() => void) | undefined; scrollable?: boolean | undefined; }, HTMLElement>; declare const isNative = false; type KeyboardAvoidingBoxProps = { keyboardVerticalOffset?: number; children?: ReactElementChildren; }; declare const KeyboardAvoidingBox: ComponentWithRef; type SystemProps = BackgroundSystemProps & BorderSystemProps & ColorSystemProps & DisplaySystemProps & FlexboxSystemProps & PositionSystemProps & SizingSystemProps & SpacingSystemProps & TransformSystemProps & ScrollSystemProps & ScrollItemSystemProps; type ScrollBoxProps = { ref?: Ref; as?: BoxElements; children: ReactElementChildren; scrollEnabled?: ResponsiveValue; onLayout?: (layoutEvent: LayoutEvent) => void; } & SystemProps & Pick & { ariaLabel?: string; ariaChecked?: boolean; ariaLabelledBy?: string; ariaCurrent?: 'date' | 'location' | 'page' | 'step' | 'time' | 'true'; ariaSelected?: boolean; }; declare const ScrollBox: react.ForwardRefExoticComponent & react.RefAttributes>; type SafeAreaProviderProps = { children: ReactElementChild; }; type Edge = 'bottom' | 'left' | 'right' | 'top'; type Insets = { [edge in Edge]: number; }; type MinInsets = { [edge in Edge]?: ResponsiveValue; }; type GenerateStyle = ({ edges, minInsets }: { edges?: Edge[]; minInsets?: MinInsets; }) => { [key in Edge]?: number | string; }; type SafeAreaContextValue = { insets: Insets; generateStyle: GenerateStyle; }; declare const SafeAreaProvider: FC; declare const useSafeArea: () => SafeAreaContextValue; type CreateContainer = () => Promise<{ index: number; container: Element | number | null; } | null>; type RemoveContainer = (index: number) => void; type PortalRootContextValue = { container: Element | number | null; createContainer: CreateContainer; removeContainer: RemoveContainer; }; type PortalRootProviderProps = { children: ReactElementChild; zIndex: number; }; declare const PortalRootProvider: FC; declare const usePortalRoot: () => PortalRootContextValue; type Platform = 'android' | 'ios' | 'unknown' | 'web'; declare const platform: Platform; type OverlayBoxProps = SizingSystemProps & Omit & { open: boolean; ref?: ForwardedRef; targetRef: RefObject; children: FunctionComponentElement<{ ref?: ForwardedRef; }>; onDismiss?: () => void; }; declare const OverlayBox: ComponentWithRef; type PopoverProviderProps = { children: ReactElementChild; }; declare const PopoverProvider: FC; declare const usePopover: ({ id, value }: { id?: string; value?: boolean | undefined; }) => { isOpen: boolean | undefined; open: () => void; close: () => void; }; type Position = 'bottom' | 'top'; type Offset = number | string; type StackOptions = { position: Position; id: string; order: number; offset?: Offset; safeAreaInset?: boolean; }; declare const useStackedPortal: ({ position, id, order, offset, safeAreaInset }: StackOptions) => { offset: Offset | undefined; renderedIndex: number | undefined; unregister: () => void; changeHeight: (height: number) => void; }; declare const useStackedOffset: ({ position }: { position: Position; }) => { offset: Offset; }; declare const useLockBodyScroll: (active?: boolean) => void; type ScrollDirection = 'down' | 'unset' | 'up'; type EventListenerCallback = (args: { scrollDirection: ScrollDirection; scrollPosition: number; }) => void; type PageScrollContextValue = { addEventListener: (callback: EventListenerCallback) => () => void; scrollDirection: ScrollDirection; }; type PageScrollProps = { children: ReactElement; }; declare const PageScroll: FC>; declare const useScroll: () => PageScrollContextValue; type ImageProps = { src: ResponsiveValue; ref?: any; alt?: string; loading?: 'eager' | 'lazy'; sizes?: ResponsiveValue; draggable?: boolean; testId?: string; onError?: () => void; onLoad?: () => void; } & SizingSystemProps & MediaSystemProps & BorderSystemProps; declare const Image: ComponentWithRef; type TabViewItemProps = { title: string; tabId: string; onTabSelected?: () => void; renderContent: () => ReactElement; testId?: string; }; declare const TabViewItem: ComponentWithRef; declare const TabView: ComponentWithRef<{ tabId?: string | undefined; children: react.ReactElement> | react.ReactElement>[]; renderTobBarItem: (_: { title: string; isSelected: boolean; onClick: () => void; tabId: string; }) => react.ReactElement>; renderTobBarContainer: (props: ReactElementChildren) => react.ReactElement>; onTabChange?: (() => void) | undefined; testId?: string | undefined; native_swipeEnabled?: boolean | undefined; }, HTMLElement>; type FlatListProps = { id?: string; testId?: string; data: Data[]; renderItem: (_: { item: Data; index: number; }) => ReactElement | null; keyExtractor: (item: Data, index: number) => string; maxRows?: ResponsiveValue; columnSpacing?: ResponsiveValue; px?: ResponsiveValue; rowSpacing?: ResponsiveValue; onItemImpressed?: (item: Data, index: number | null) => void; onEndReached?: () => void; snap?: boolean; loop?: boolean; initialIndex?: number; snapAlignment?: 'center' | 'end' | 'start'; hideScroll?: boolean; } & Either<{ horizontal?: false; columns: ResponsiveValue; columnWidth?: never; }, { horizontal: true; columnWidth: ResponsiveValue; columns?: never; }>; declare const FlatList: (props: FlatListProps) => ReactElement; type LinkProps = { testId?: string; ref?: any; href: string; isExternal?: boolean; ariaCurrent?: 'date' | 'location' | 'page' | 'step' | 'time' | 'true'; onClick?: () => void; onFocusIn?: () => void; onFocusOut?: () => void; onPressIn?: () => void; onPressOut?: () => void; onHoverIn?: () => void; onHoverOut?: () => void; children?: ReactElementChild | ReactElementChild[]; } & BackgroundSystemProps & BorderSystemProps & ColorSystemProps & DisplaySystemProps & FlexboxSystemProps & InteractionSystemProps & OverflowSystemProps & PositionSystemProps & SizingSystemProps & SpacingSystemProps & TransformSystemProps; declare const Link: ComponentWithRef; export { type AllSystemProps, type AutoCapitalizeOption, type AutoCompleteOption, type BackgroundSystemProps, type BorderSystemProps, Box, type BoxElements, type BoxProps, type ColorSystemProps, type ComponentWithRef, ConfigProvider, type Dependencies, type DisplaySystemProps, type Edge, type ElevationSystemProps, type EventListenerCallback, FlatList, type FlexboxSystemProps, type HitSlopRect, Image, type ImageProps, type Insets, type InteractionSystemProps, KeyboardAvoidingBox, Link, type LinkProps, type MediaSystemProps, type MinInsets, OnColorContainer, type OverflowSystemProps, OverlayBox, PageScroll, type Platform, PopoverProvider, PortalBox, PortalRootProvider, type PositionSystemProps, PressableBox, type PressableBoxProps, type PseudoClassSystemProps, type ReactElementChild, type ReactElementChildren, type ReactTextChild, type ReactTextChildren, type ResponsiveValue, SafeAreaProvider, ScrollBox, type ScrollDirection, type ScrollItemSystemProps, type ScrollSystemProps, type SizingSystemProps, type SpacingSystemProps, Svg, type SvgProps, type SvgSystemProps, type SystemPropThemeScale, TabView, TabViewItem, Text, type TextChildren, type TextElements, TextInput, type TextInputProps, type TextInputRef, type TextInputType, type TextProps, type TextSystemProps, ThemeProvider, type TransformSystemProps, type Translation, type TypographySystemProps, type UnResponsiveValue, VibrantProvider, type WindowDimensions, WindowDimensionsProvider, calculateResponsiveValues, createNativeImageComponent, createShadowsComponent, createSystemProp, getElementPosition, getWindowDimensions, isNative, platform, propVariant, toResponsiveValue, transformResponsiveValue, useConfig, useCurrentTheme, useCurrentThemeMode, useInterpolation, useLockBodyScroll, usePopover, usePortalRoot, useResponsiveValue, useSafeArea, useScroll, useStackedOffset, useStackedPortal, useWindowDimensions, withVariation };