import type { DialogElement } from '@mattermost/types/integrations';
type DialogError = {
    id: string;
    defaultMessage: string;
    values?: any;
};
export declare function checkDialogElementForError(elem: DialogElement, value: any): DialogError | undefined | null;
export declare function checkIfErrorsMatchElements(errors?: Record<string, string>, elements?: DialogElement[]): boolean;
export {};
