import type { ColorValue as RNColorValue } from "react-native";
import { AnimatableNumericValue, OpaqueColorValue, Text as RNText, TextProps as RNTextProps, TextStyle } from "react-native";
interface TextContextValue {
    fontSize?: number;
    fontWeight?: TextStyle["fontWeight"];
    color?: string | RNColorValue | OpaqueColorValue;
    fontFamily?: string;
    lineHeight?: number;
    textAlign?: TextStyle["textAlign"];
    letterSpacing?: number;
    textTransform?: TextStyle["textTransform"];
    textDecorationLine?: TextStyle["textDecorationLine"];
    fontStyle?: TextStyle["fontStyle"];
    opacity?: number | AnimatableNumericValue;
}
export declare const TextContext: import("react").Context<Partial<TextContextValue> | null>;
export declare function objectFromObjects(arr: Record<string, any>[]): Record<string, any>;
export interface TextPrimitiveProps extends Omit<RNTextProps, "style"> {
    variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body1" | "body2" | "caption" | "overline" | "subtitle1" | "subtitle2";
    size?: "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | number;
    weight?: "thin" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black";
    color?: "default" | "muted" | "primary" | "secondary" | "destructive" | "success" | "warning" | (string & {});
    align?: "left" | "center" | "right" | "justify";
    leading?: "none" | "tight" | "snug" | "normal" | "relaxed" | "loose" | number;
    tracking?: "tighter" | "tight" | "normal" | "wide" | "wider" | "widest" | number;
    transform?: "none" | "capitalize" | "uppercase" | "lowercase";
    decoration?: "none" | "underline" | "line-through";
    italic?: boolean;
    opacity?: number;
    style?: TextStyle | TextStyle[];
    inherit?: boolean;
    reset?: boolean;
}
export declare const TextRoot: import("react").ForwardRefExoticComponent<TextPrimitiveProps & import("react").RefAttributes<RNText>>;
export declare const TextSpan: import("react").ForwardRefExoticComponent<Omit<TextPrimitiveProps, "reset"> & import("react").RefAttributes<RNText>>;
export declare const TextBlock: import("react").ForwardRefExoticComponent<TextPrimitiveProps & import("react").RefAttributes<RNText>>;
export declare function useTextContext(): TextContextValue | null;
export declare function createTextStyle(props: Omit<TextPrimitiveProps, "children" | "style" | "ref">): TextStyle;
export declare const TextPrimitive: {
    Root: typeof TextRoot;
    Span: typeof TextSpan;
    Block: typeof TextBlock;
    Context: typeof TextContext;
    useContext: typeof useTextContext;
    createStyle: typeof createTextStyle;
};
export {};
//# sourceMappingURL=text.d.ts.map