import { type TextStyle } from "react-native"; import { type ColorTokens, type FloatingLabelStyles } from "../../style/index.js"; export type Size = "small" | "base" | "large"; export interface TextareaFieldState { /** Error/validation state (error or invalid prop). */ error: boolean; /** The field currently holds keyboard focus. */ focused: boolean; } export interface TextareaSkin extends FloatingLabelStyles { field: (tokens: ColorTokens, state: TextareaFieldState) => TextStyle; /** * The live character-count line the component renders under the field when * `showCount` is set (end-aligned, "N / max"). Muted at rest, `destructive` * once the count passes the soft cap so the overage reads as an error. The * BRAND survives (destructive is the token, never a platform red); only the * type conventions (SF caption tracking on iOS, M3 body-small tracking on * Android) change per OS. */ count: (tokens: ColorTokens, over: boolean) => TextStyle; } export declare function sizeText(size: Size): TextStyle; export declare function minHeight(rows?: number): TextStyle; export declare const webSkin: TextareaSkin; export declare const iosSkin: TextareaSkin; export declare const androidSkin: TextareaSkin; //# sourceMappingURL=textarea.styles.d.ts.map