import type { ForestSchemaAction, ForestServerActionFormLayoutElement } from '@forestadmin/forestadmin-client'; import HttpRequester from '../http-requester'; import ActionFieldMultipleChoice from './action-field-multiple-choice'; import FieldGetter from './field-getter'; export default class FieldFormStates { private readonly fields; private readonly actionName; private readonly actionPath; private readonly collectionName; private readonly httpRequester; private readonly ids; private readonly layout; private readonly hooks?; private readonly fallbackFields?; constructor(actionName: string, actionPath: string, collectionName: string, httpRequester: HttpRequester, ids: string[], hooks?: ForestSchemaAction['hooks'], fallbackFields?: ForestSchemaAction['fields']); getFieldValues(): Record; getMultipleChoiceField(name: string): ActionFieldMultipleChoice; getField(name: string): FieldGetter | undefined; getFields(): FieldGetter[]; getLayout(): ForestServerActionFormLayoutElement[]; setFieldValue(name: string, value: unknown): Promise; loadInitialState(): Promise; private addFields; private clearFieldsAndLayout; private loadChanges; } //# sourceMappingURL=field-form-states.d.ts.map