import { QueriesOptions, QueriesResults, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from "@tanstack/react-query"; /** * Wrapper around useQuery that uses the internal tambo query client. * * Use this instead of useQuery from `@tanstack/react-query` * @param options - The options for the query, same as useQuery from `@tanstack/react-query` * @returns The query result */ export declare function useTamboQuery(options: UseQueryOptions): UseQueryResult, TError>; /** * Wrapper around useMutation that uses the internal tambo query client. * * Use this instead of useMutation from `@tanstack/react-query` * @param options - The options for the mutation, same as useMutation from `@tanstack/react-query` * @returns The mutation result */ export declare function useTamboMutation(options: UseMutationOptions): UseMutationResult; /** * Type alias for the result of a mutation. */ export type UseTamboMutationResult = UseMutationResult; /** * Type alias for the result of a query. */ export type UseTamboQueryResult = UseQueryResult; /** * Wrapper around useQueries that uses the internal tambo query client. * @param options - The options for the queries, same as useQueries from `@tanstack/react-query` * @param options.queries - The queries to run, same as queries from useQueries from `@tanstack/react-query` * @param options.combine - The function to combine the results of the queries, same as combine from useQueries from `@tanstack/react-query` * @param options.subscribed - Whether to subscribe to the queries, same as subscribed from useQueries from `@tanstack/react-query` * @returns The queries result */ export declare function useTamboQueries>({ queries, ...options }: { queries: readonly [...QueriesOptions]; combine?: (result: QueriesResults) => TCombinedResult; subscribed?: boolean; }): TCombinedResult; //# sourceMappingURL=react-query-hooks.d.ts.map