import { type ReactElement, type ReactNode } from "react";
import { Color } from '../color';
import { Generic } from '../generic';
import { type text } from './core';
export type Shade = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
export interface CoreProps<L extends text.Level = text.Level> {
    level: L;
    children?: ReactNode;
    color?: Color.Crude;
    noWrap?: boolean;
    shade?: Shade;
    weight?: number;
}
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;
