/** * * @param {*} categorization * @param {*} tabType * @param {*} action */ export declare const getDataEntryCategory: (categorization: any, tabType: any, action: any) => any[]; /** * Validate errors on input * @param {*} errors * @param {*} customErrors */ export declare const isValidInput: (errors: any, customErrors: any) => boolean | undefined; /** * Retrieve warehouse using algorithm * @param {*} warehouses * @param {*} warehouse * @param {*} orgUnitGroups * @param {*} data */ export declare const retrieveWarehouse: (warehouses: any, warehouse: any, orgUnitGroups: any, data: string | string[]) => any; /** * Get selected updates * @param {*} orgUnitGroups */ export declare const getSelectUpdate: (orgUnitGroups: any[]) => any; export declare const getSelectUpdateByProduct: (commodityType: any, orgUnitGroups: never[]) => any; export declare const getSelectUpdate1: (commodityType: string | string[], orgUnitGroups: any[], zonePath: any) => any; /** * Get Update for property * @param {*} rootSchema * @param {*} warehouses * @param {*} warehouse * @param {*} orgUnitGroups * @param {*} zonePath */ export declare const getUpdateForProperty: (_commodityType: any, warehouse: { code: any; } | undefined, orgUnitGroups: any[], zonePath: string) => any; /** * Return a value from OnChange event * @param {*} schema * @param {*} ev * @param {*} decimals * @param {*} intlOptions Intl options */ export declare const onHandleChange: (schema: any, ev: any, decimals?: number, intlOptions?: any) => any; /** * Get Intl Number Format * @param {*} ev * @param {*} schema * @param {*} decimalPoints * @param {*} intlOptions * @returns */ export declare const getIntlNumberFormat: (ev: any, schema?: any, _decimalPoints?: any, intlOptions?: any) => any; /** * Get Property Label * @param {*} option * @param {*} uiOptions */ export declare const getPropertyLabel: (option: { [x: string]: any; label: any; }, uiOptions?: any) => any; /** * Get Property Value from Options * @param {*} option * @param {*} uiOptions */ export declare const getPropertyValue: (option: any, uiOptions: { property: string | number; }) => any; /** * Convert value to Integer * @param {*} value */ export declare const toInteger: (value: string) => number | undefined; /** * Convert value to Number * @param {*} value */ export declare const toNumber: (value: string, decimals: number | undefined) => string | undefined; /** * Reverse Intl Number format * @param {*} value * @param {*} options * @returns */ export declare const reverseIntlNumberFormat: (value: { toString: () => string; }, options: { locale: string | string[] | undefined; }) => string | 0; /** * Convert value to Intl.NumberFormat * @param {*} value * @param {*} options Intl.NumberFormat * @returns */ export declare const toIntlNumberFormat: (value: any, options?: { locale: any; options: Intl.NumberFormatOptions | undefined; } | undefined) => any; /** * * @param {*} dataSource * @param {*} baseUrl * @param {*} search * @param {*} dataStoreUrl * @returns */ export declare const throttledGetAutoCompleteDataSource: (dataSource: any, baseUrl: string | null | undefined, search: any, dataStoreUrl: any, setupUrl: any) => any; /** * Throttle at 3000 seconds */ /** * Get search url by search value * @param {*} dataSource * @param {*} search * @param {*} query URL query * @returns */ export declare const getAutoSearchValue: (dataSource: { search: { key: any; prefix: string; suffix: string; options: any; }; }, search: any, query: {}) => string; /** * Get Url by type, if `url` is provided, then the data source * is outside the DHIS2 server hosting the app. * @param {*} baseUrl * @param {*} query * @param {*} dataSource * @param {*} dataStoreUrl * @param {*} setupUrl * @returns */ export declare const getUrlByType: (baseUrl: any, query: string, dataSource: any, dataStoreUrl: any, setupUrl: any) => any; /** * Get base Url from data source options * @param {*} base * @param {*} path * @returns */ export declare const getUrlBase: (base: any, path: any) => any; /** * Get Url where search or filter must be done * @param {*} dataSource * @param {*} baseUrl * @param {*} dataStoreUrl * @param {*} setupUrl * @returns */ export declare const getUrl: (dataSource: any, baseUrl: any, dataStoreUrl: any, setupUrl: any) => any;