/** * Initialize values in the coordination space. * @param {object} values Object where * keys are coordination type names, * values are initial coordination values. * @param {object} setters Object where * keys are coordination type names with the prefix 'set', * values are coordination setter functions. * @param {object} initialValues Object where * keys are coordination type names and keys are values. */ export function initCoordinationSpace(values: object, setters: object, initialValues: object): void; export function dataQueryFn(ctx: any): Promise; /** * Get data from a cells data type loader, * updating "ready" and URL state appropriately. * Throw warnings if the data is marked as required. * Subscribe to loader updates. * @param {object} loaders The object mapping * datasets and data types to loader instances. * @param {string} dataset The key for a dataset, * used to identify which loader to use. * @param {boolean} isRequired Should a warning be thrown if * loading is unsuccessful? * @param {object} coordinationSetters Object where * keys are coordination type names with the prefix 'set', * values are coordination setter functions. * @param {object} initialCoordinationValues Object where * keys are coordination type names with the prefix 'initialize', * values are initialization preferences as boolean values. * @returns {array} [data, status, urls, error] where * cells is an object and cellsCount is the * number of items in the cells object. */ export function useDataType(dataType: any, loaders: object, dataset: string, isRequired: boolean, coordinationSetters: object, initialCoordinationValues: object, matchOn: any): array; /** * Get data from a cells data type loader, * updating "ready" and URL state appropriately. * Throw warnings if the data is marked as required. * Subscribe to loader updates. * @param {object} loaders The object mapping * datasets and data types to loader instances. * @param {string} dataset The key for a dataset, * used to identify which loader to use. * @param {boolean} isRequired Should a warning be thrown if * loading is unsuccessful? * @param {object} coordinationSetters Object where * keys are coordination type names with the prefix 'set', * values are coordination setter functions. * @param {object} initialCoordinationValues Object where * keys are coordination type names with the prefix 'initialize', * values are initialization preferences as boolean values. * @param {object} matchOnObj Coordination values used to obtain a matching loader. * @param {function} mergeCoordination Function to merge coordination values. * @param {string} viewUid The view UID to use for merging coordination values. * @returns {array} [data, status, urls, errors] */ export function useDataTypeMulti(dataType: any, loaders: object, dataset: string, isRequired: boolean, coordinationSetters: object, initialCoordinationValues: object, matchOnObj: object, mergeCoordination: Function, viewUid: string): array; export function useHasLoader(loaders: any, dataset: any, dataType: any, matchOn: any): boolean; //# sourceMappingURL=data-hook-utils.d.ts.map