import type { PaletteProps } from "../../Theme/tokens/types"; export declare const FIELD_MESSAGE_GAP = "0.25rem"; /** Shared type for helper and error text, so switching between them never shifts the row. */ export declare const fieldMessageStyles: (colors: PaletteProps) => { mt: string; fontSize: string; lineHeight: string; color: string; }; export type FieldMessageState = { error?: boolean; errorMessage?: string; helperText?: string; }; /** One rule for every field: the error replaces the helper, never both. */ export declare const fieldMessageVisibility: ({ error, errorMessage, helperText, }: FieldMessageState) => { showError: boolean; showHelper: boolean; };