import { RaRecord, TranslateFunction } from "../../types.cjs"; import { MatchingReferencesError } from "./types.cjs"; import { ControllerRenderProps } from 'react-hook-form'; interface GetStatusForInputParams { field: Pick; matchingReferences: RecordType[] | MatchingReferencesError; referenceRecord: RecordType; translate: TranslateFunction; } export declare const getStatusForInput: ({ field, matchingReferences, referenceRecord, translate, }: GetStatusForInputParams) => { waiting: any; error: string | null; warning: string | null; 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: TranslateFunction; } export declare const getStatusForArrayInput: ({ field, matchingReferences, referenceRecords, translate, }: GetStatusForArrayInputParams) => { waiting: boolean; error: string | null; warning: string | null; choices: RecordType[]; }; export {}; //# sourceMappingURL=referenceDataStatus.d.ts.map