import { FieldItemConfig } from './types/types.js';

declare const getUpdatedKey: (_key: string) => string;
declare const getErrorKey: (_key: string) => string;
declare const getErrorText: (_key: string) => string;
interface IValidationProps<T extends Record<string, any> = Record<string, any>> {
    _state: Record<string, any>;
    fields: FieldItemConfig<T>[];
    getLocalizedText?: (text: string, params?: Record<string, any>) => string;
    customFunctions?: Record<string, () => string | null>;
    ignoreFields?: string[];
}
declare const validateFields: <T extends Record<string, any>>({ _state, fields, getLocalizedText, customFunctions, ignoreFields, }: IValidationProps<T>) => {
    isValid: boolean;
    _state: {
        [x: string]: any;
    };
};
declare const queryString: (obj: Record<string, any>) => string;
declare function extractValue<T>(obj: T, key: string): unknown;

export { extractValue, getErrorKey, getErrorText, getUpdatedKey, queryString, validateFields };
