import { BaseFilterOptions, BaseSortableFilterOptions, PaginatedListIterator } from '../cardinal-sdk-ts.mjs'; import { EncryptedForm, Form } from '../model/Form.mjs'; import { FormTemplate } from '../model/FormTemplate.mjs'; import { StoredDocumentIdentifier } from '../model/StoredDocumentIdentifier.mjs'; import { FormBasicInGroupApi } from './FormBasicInGroupApi.mjs'; export interface FormBasicApi { inGroup: FormBasicInGroupApi; /** * * Get the ids of all forms matching the provided filter. * * This method does not guarantee that the returned data will be ordered when using sortable filter options. * Even if the data obtained from an invocation of the method appears to be ordered, any changes to the stored data, * or to the internal iCure implementations, may cause future invocations to return unordered data. * If you need ordered data use [matchFormsBySorted] instead. * * @param filter a form filter * @return a list of form ids */ matchFormsBy(filter: BaseFilterOptions