/** * Search an object map and return the first item that matches the given value. * * @param map - Object map that contains the data to be searched. * @param params - Object property name used as the search key. * @param code - Value to match against the specified property. * * @returns The matched object if found, otherwise undefined. * @example: findObjectByParams(src/constants/product/cargo/status, 'code', '200') ->. return { code: '100', desc: { id: 'Sudah dibayar', en: 'Paid', }, }, */ declare const _default: (map: any, params: string, code: string) => any; export default _default;