import type { QueryClient } from '@tanstack/react-query'; import type { SuperagentAgent } from '../types'; export declare const AGENT_LIST_STALE_TIME_MS: number; export declare const AGENT_LIST_GC_TIME_MS: number; type AgentListScope = { baseUrl: string; cacheScope: string; userId: string; }; export declare const superagentQueryKeys: { all: readonly ["superagent-native"]; agents: ({ baseUrl, cacheScope, userId }: AgentListScope) => readonly ["superagent-native", "agents", string, string, string]; }; export type AgentListQueryKey = ReturnType; export declare const createAgentListQueryOptions: ({ enabled, listAgents, queryKey, }: { enabled?: boolean; listAgents: () => Promise; queryKey: AgentListQueryKey; }) => { enabled: boolean | undefined; gcTime: number; queryFn: () => Promise; queryKey: readonly ["superagent-native", "agents", string, string, string]; retry: boolean; staleTime: number; }; export declare const prependCachedAgent: ({ agent, queryClient, queryKey, }: { agent: SuperagentAgent; queryClient: QueryClient; queryKey: AgentListQueryKey; }) => void; export declare const mergeCachedAgent: ({ agent, queryClient, queryKey, }: { agent: SuperagentAgent; queryClient: QueryClient; queryKey: AgentListQueryKey; }) => void; export declare const removeCachedAgent: ({ agentId, queryClient, queryKey, }: { agentId: string; queryClient: QueryClient; queryKey: AgentListQueryKey; }) => void; export {}; //# sourceMappingURL=agentQueries.d.ts.map