import * as React from 'react';
// import {ColorName} from '../../generatedTypes/style/colors.d';
import {BaseComponentPaddingModifier, BaseComponentMarginModifier} from './spacings';
type TypographyName = 'fixme';
type ColorName = 'fixme';
export class UIComponent
extends React.PureComponent
{}
export function forwardRef(
WrappedComponent: React.ComponentType
): React.ComponentType;
export function asBaseComponent(WrappedComponent: React.ComponentType
): React.ComponentType
;
export type BaseComponentColorModifierVariations = ColorName;
export type BaseComponentColorModifiers = Partial>;
export type BaseComponentTypographyModifierVariations = TypographyName;
export type BaseComponentTypographyModifiers = Partial>;
export type BaseComponentAlignmentModifierVariations =
| 'row' | 'spread'
| 'center' | 'centerH' | 'centerV'
| 'left' | 'right' | 'top' | 'bottom';
export type BaseComponentAlignmentModifiers = Partial>;
export type BaseComponentFlexStyleModifierVariations =
| 'flex' | 'flex-1' | 'flex-2' | 'flex-3' | 'flex-4' | 'flex-5'
| 'flexG' | 'flexG-1' | 'flexG-2' | 'flexG-3' | 'flexG-4' | 'flexG-5'
| 'flexS' | 'flexS-1' | 'flexS-2' | 'flexS-3' | 'flexS-4' | 'flexS-5';
export type BaseComponentFlexStyleModifiers = Partial>;
export type BaseComponentBorderRadiusModifierVariations = TypographyName;
export type BaseComponentBorderRadiusModifiers = Partial>;
export type BaseComponentModifiers =
& BaseComponentColorModifiers
& BaseComponentTypographyModifiers
& BaseComponentAlignmentModifiers
& BaseComponentPaddingModifier
& BaseComponentMarginModifier
& BaseComponentFlexStyleModifiers
& BaseComponentBorderRadiusModifiers;
export class BaseComponent extends React.Component
{
static propTypes?: any;
static defaultProps?: Partial
;
// TODO: There's more methods here, need to create more precise types
getThemeProps: () => P & ThemeProps;
extractAccessibilityProps: () => AccessibilityProps;
}
export type _B = Partial>;
export class PureBaseComponent extends React.PureComponent
{
static propTypes?: any;
static defaultProps?: Partial
;
// TODO: There's more methods here, need to create more precise types
getThemeProps: () => P & ThemeProps;
extractAccessibilityProps: () => AccessibilityProps;
}