import { BaseResource } from '../../../../pages/types'; import { RecordPageTemplateProps } from '../../types'; import { SectionKeyValueContentChildType, SectionKeyValueContentType } from '../../types/mainSections/sectionKeyValue'; import { UseRecordEditReturn } from '../../useRecordEdit'; import type { GetNestedValue, NestedKeyOf } from '../../../../types'; export declare const WithMeta: = NestedKeyOf, V extends GetNestedValue = GetNestedValue>({ fieldProps, children, }: { fieldProps: { resource: R; parentField?: SectionKeyValueContentType | undefined; field: (SectionKeyValueContentType | SectionKeyValueContentChildType) & { buttonField?: (import("../../types/mainSections/sectionKeyValue").BaseSectionKeyValueContentChildType & import("../../types/mainSections/sectionKeyValueField").FieldButtonFieldType & { type: 'button'; }) | undefined; }; isEditing: boolean; fieldLength?: number | undefined; fieldIndex?: number | undefined; editorOptions: { displayOptionalIcon?: boolean; }; refetchResource: () => Promise; } & Pick & Pick, "updateEditingResource" | "errorFields">; children: React.ReactNode; }) => JSX.Element;