UNPKG

@resourge/react-fetch

Version:

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

17 lines (16 loc) 731 B
/** * react-fetch v1.41.3 * * Copyright (c) resourge. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */ import { type ParamsType } from '../types/ParamsType'; export declare function useMultipleFiltersId({ hash }: { hash?: boolean; }): string; export declare function removeCacheIds<FilterSearchParams extends Record<string, any> = Record<string, any>>(params: FilterSearchParams): ParamsType<FilterSearchParams>; export declare function filterByCacheIds<FilterSearchParams extends Record<string, any> = Record<string, any>>(id: string, params: FilterSearchParams): FilterSearchParams | ParamsType<FilterSearchParams>;