import type { FieldData } from './types';
export declare const omitKeys: (obj: any, omit: any) => any;
export declare const addKeys: (obj: any, add: any, initialValue: any, defaultData: any, pendingData: any) => any;
/**
 * @description Extracts the field schema data from the form schema using the field component
 *
 * @param formData The data of the form using the field component
 * @param fieldKeys The keys in the field schema
 * @returns An object containing only the field schemas form data
 */
export declare function getDataByFields<FormSchema, Fields extends Array<keyof FormSchema>, FieldSchema extends {
    [field in keyof FormSchema]: FormSchema[field];
}>(formData: FormSchema, fieldKeys: Fields): FieldData<FieldSchema>;
