UNPKG

579 BTypeScriptView Raw
1import type { QueryCacheKey } from './core/apiState';
2import type { EndpointDefinition } from './endpointDefinitions';
3export declare const defaultSerializeQueryArgs: SerializeQueryArgs<any>;
4export declare type SerializeQueryArgs<QueryArgs> = (_: {
5 queryArgs: QueryArgs;
6 endpointDefinition: EndpointDefinition<any, any, any, any>;
7 endpointName: string;
8}) => string;
9export declare type InternalSerializeQueryArgs = (_: {
10 queryArgs: any;
11 endpointDefinition: EndpointDefinition<any, any, any, any>;
12 endpointName: string;
13}) => QueryCacheKey;