import { text } from './core';
import { Generic } from '../generic';
import { Color } from '../color';
import { ReactElement, ReactNode } from 'react';

export interface CoreProps<L extends text.Level = text.Level> {
    level: L;
    children?: ReactNode;
    color?: Color.Crude | boolean;
    noWrap?: boolean;
    shade?: text.Shade;
    weight?: text.Weight;
}
export type TextProps<L extends text.Level = text.Level> = Omit<Generic.ElementProps<L>, "el" | "color" | "children"> & CoreProps<L>;
export declare const Text: <L extends "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "p" = "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "p">(props: TextProps<L>) => ReactElement;
export declare const evalColor: (color?: Color.Crude | boolean, shade?: number) => string | undefined;
//# sourceMappingURL=Text.d.ts.map