import { MessagesBagContract, CustomMessages } from '../types.js'; /** * Message bag exposes the API to pull the most appropriate message for a * given validation failure. */ export declare class MessagesBag implements MessagesBagContract { private messages; private wildCardCallback; constructor(messages: CustomMessages); /** * Transform message by replace placeholders with runtime values */ private transform; /** * Returns the most appropriate message for the validation failure. */ get(pointer: string, rule: string, message: string, arrayExpressionPointer?: string, args?: any): string; }