import { RaRecord, Translate } from '../../types'; import { MatchingReferencesError } from './types'; import { ControllerRenderProps } from 'react-hook-form'; interface GetStatusForInputParams { field: Pick; matchingReferences: RecordType[] | MatchingReferencesError; referenceRecord: RecordType; translate: Translate; } export declare const getStatusForInput: ({ field, matchingReferences, referenceRecord, translate, }: GetStatusForInputParams) => { waiting: boolean; error: string; warning: string; choices: RecordType[]; }; export declare const REFERENCES_STATUS_READY = "REFERENCES_STATUS_READY"; export declare const REFERENCES_STATUS_INCOMPLETE = "REFERENCES_STATUS_INCOMPLETE"; export declare const REFERENCES_STATUS_EMPTY = "REFERENCES_STATUS_EMPTY"; export declare const getSelectedReferencesStatus: (field: Pick, referenceRecords: RecordType[]) => "REFERENCES_STATUS_READY" | "REFERENCES_STATUS_INCOMPLETE" | "REFERENCES_STATUS_EMPTY"; interface GetStatusForArrayInputParams { field: ControllerRenderProps; matchingReferences: RecordType[] | MatchingReferencesError; referenceRecords: RecordType[]; translate: Translate; } export declare const getStatusForArrayInput: ({ field, matchingReferences, referenceRecords, translate, }: GetStatusForArrayInputParams) => { waiting: boolean; error: string; warning: string; choices: RecordType[]; }; export {}; //# sourceMappingURL=referenceDataStatus.d.ts.map