import { Text as RNText, TextInput as RNTextInput, type StyleProp, type TextInputProps, type TextProps, type TextStyle } from "react-native"; import { type ThemeFonts } from "./fonts.js"; /** * The face role a run of text takes: one of the theme's registered roles, or `own` for * a family the caller named, which the kit never replaces. */ type FaceRole = "sans" | "mono" | "display" | "own"; /** * Apply the theme's faces to a text style. Exported for the few components that * paint text through something other than Text (an SVG label, a native module). * `inherited` is the face role of the enclosing run, which a style naming no family * takes (the theme's `sans` face by default). */ export declare function fontStyle(style: StyleProp, fonts: ThemeFonts, inherited?: FaceRole): StyleProp; /** * React Native's Text with the theme's registered typefaces applied, so every label paints * in the brand face without a `fontFamily` at the call site. A link Text (an `href`, or * the `link` role) also carries the kit's themed focus ring, as Pressable does. */ export declare const Text: import("react").ForwardRefExoticComponent>; /** TextInput's props: React Native's, plus the focus appearance it keeps. */ export interface CanvasTextInputProps extends TextInputProps { /** Keep the platform’s system focus appearance instead of the themed ring. */ systemFocus?: boolean; } /** * React Native's TextInput with the theme's registered typefaces applied. Kit fields * (Input, Textarea, Select) build on it; reach for them first. */ export declare const TextInput: import("react").ForwardRefExoticComponent>; export {}; //# sourceMappingURL=text.d.ts.map