import { Ref } from 'vue'; /** * All possible `showError` values. */ export declare const ShowErrorModes: readonly [true, false, "touched"]; /** * Configures if and when errors are shown. * When `true`, errors will be shown initially. * When `false`, errors will never be shown. * `"touched"` only shows an error *after* a user has significantly interacted with the input. * See [:user-invalid](https://drafts.csswg.org/selectors/#user-invalid-pseudo). */ export type ShowErrorMode = boolean | "touched"; export declare const useErrorClass: (showError: Readonly>) => import('vue').ComputedRef<"onyx-form-element--immediate-invalid" | "onyx-form-element--suppress-invalid" | "onyx-form-element--touched-invalid">;