import type { Generic } from 'adopted-style-sheets'; import type { AlertProps } from '../components'; import type { Stringified } from '../types'; export type MsgPropType = Omit & { _description: string; }; export type PropMsg = { msg: Stringified; }; export declare const validateMsg: (component: Generic.Element.Component, value?: Stringified) => void; export declare function isMsgDefinedAndInputTouched(msg?: Stringified, touched?: boolean): boolean; export declare const checkHasMsg: typeof isMsgDefinedAndInputTouched; export declare function normalizeMsg(msg?: Stringified): MsgPropType | undefined; export declare function getMsgType(msg?: Stringified): MsgPropType['_type'] | 'error';