import { FIELD_TYPES } from '@connector/ui';
import { FieldListResponse, ObjectItem, FieldValue } from '../../../types/form';
export type WriteFieldKeys = string;
export type WriteFormStateValues = Partial<Record<WriteFieldKeys, FieldValue | undefined>>;
export type WriteFormStateErrors = Partial<Record<WriteFieldKeys, string | boolean>>;
export interface WriteFormState {
    values: WriteFormStateValues;
    errors: WriteFormStateErrors;
}
export interface AllValues {
    values: Partial<Record<WriteFieldKeys, FieldValue>>;
}
export interface WriteFormFields extends FieldListResponse {
    type: FIELD_TYPES;
    isMultiSelect?: boolean;
    loadOptionsOnFocus?: boolean;
}
export interface ObjectResponseItem extends Omit<ObjectItem, 'label' | 'value'> {
    fieldList?: FieldListResponse[];
}
export type Predicates = Partial<Record<WriteFieldKeys, boolean>>;
//# sourceMappingURL=form.d.ts.map