import type { CSSProperties, AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react'; import type { Classes } from './styles'; export { spacings, SpacingEnum, spacingToRem } from '@toptal/picasso-provider'; export type { Sizes, SizeType, SpacingType, PicassoSpacing, } from '@toptal/picasso-provider'; export interface BaseProps { /** Classnames applied to root element */ className?: string; /** Style applied to root element */ style?: CSSProperties; 'data-testid'?: string; 'data-private'?: boolean | 'lipsum'; } export interface JssProps { classes: Classes; } export interface TextLabelProps { /** Defines if the text should be transformed to title case */ titleCase?: boolean; } export type StandardProps = BaseProps & Partial; export type OmitInternalProps = Pick>; export interface NamedComponent

{ defaultProps?: Partial

; displayName?: string; } export interface OverridableComponent

extends NamedComponent

{ (props: P & { [key: string]: any; }): JSX.Element | null; } type BaseEnvironments = 'development' | 'staging' | 'production'; type Environments = BaseEnvironments | 'temploy' | 'test'; /** T parameter is needed to extend BaseEnvironments with 'temploy' or 'test' */ export type EnvironmentType = T | BaseEnvironments; export type ButtonOrAnchorProps = AnchorHTMLAttributes & ButtonHTMLAttributes; export type ColorType = 'green' | 'red' | 'yellow' | 'light-grey' | 'grey' | 'grey-main-2' | 'dark-grey' | 'black' | 'light-blue' | 'inherit'; export interface TransitionProps { onExited?: (node: HTMLElement) => void; timeout?: number | { enter?: number; exit?: number; appear?: number; }; } //# sourceMappingURL=types.d.ts.map