import { type InferRouteOptions } from '@aydee-app/eden'; /** * A well-defined query type used when creating query keys for a specific type of operation. */ export type EdenKnownQueryType = 'query' | 'infinite'; /** * Valid query types for creating query keys. */ export type EdenQueryType = EdenKnownQueryType | 'any'; /** * QueryKey used internally. Consists of a tuple with an array key and metadata. */ export type EdenQueryKey = [key: TKey, metadata?: { input?: TInput; type?: TType; }]; export type EdenQueryKeyOptions = InferRouteOptions & { body?: any; }; export type EdenMutationKey = [readonly string[]]; export declare function getQueryKey(pathOrEndpoint: string | string[] | readonly string[], options?: EdenQueryKeyOptions, type?: EdenQueryType): EdenQueryKey; export declare function createEdenQueryKey(paths: string[], args: any, type?: EdenQueryType): EdenQueryKey; export declare function getMutationKey(path: string | string[] | readonly string[], options?: EdenQueryKeyOptions): EdenMutationKey; //# sourceMappingURL=query-key.d.ts.map