import { BaseResource } from '../../../../pages/types'; import { RecordPageTemplateProps, RecordPageType } from '../../types'; import { SectionKeyValueContentChildType, SectionKeyValueContentType } from '../../types/mainSections/sectionKeyValue'; import { UseRecordEditReturn } from '../../useRecordEdit'; import type { GetNestedValue, NestedKeyOf } from '../../../../types'; export type FieldKeyValues = NestedKeyOf, V extends GetNestedValue = GetNestedValue> = { [k: string]: { value: V; error: { name: string; message: string; attachments?: unknown; } | undefined; }; }; export declare const Field: = NestedKeyOf, V extends GetNestedValue = GetNestedValue>(fieldProps: { resource: R; parentField?: SectionKeyValueContentType | undefined; field: SectionKeyValueContentType | SectionKeyValueContentChildType; fieldLength?: number | undefined; fieldIndex?: number | undefined; isEditing: boolean; onFieldChange?: ((value: V) => void) | undefined; onFieldBlur?: ((value: V) => void) | undefined; editorOptions: { displayOptionalIcon?: boolean; }; refetchResource: () => Promise; page?: RecordPageType | undefined; } & Pick & Pick, "updateEditingResource" | "errorFields">) => JSX.Element | null;