import { RoleType } from '../enums/role-type'; import { RecordData } from '../interfaces/record-data'; import { GalenUser } from '../models/galen-user'; /** * Extracts the records and their given [properties] from the [responseBody] * @param responseBody the response body as returned from Galen * @param properties The list of properties whose values are to be extracted from the * records in the [responseBody]. If this is left empty, then all the properties belonging * to each records will be extracted * @returns The extracted records, where the data is stored in RecordData.Record. The keys * of RecordData.Record represent the record's properties as specified by [properties]. */ export declare function getRecordsFromResponseBody(responseBody: Object, properties: string[]): RecordData[]; export declare function getCurrentRole(value: GalenUser): RoleType.PracticeAdmin | RoleType.PracticeUser | RoleType.SupplierAdmin | RoleType.TenantAdmin | RoleType.TenantUser;