/**
 * Top-level AI/LLM conversation thread
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ListSelectionConfig } from '../selection';
import type { AgentThreadSelect, AgentThreadWithRelations, AgentThreadFilter, AgentThreadOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentThreadSelect, AgentThreadWithRelations, AgentThreadFilter, AgentThreadOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const agentThreadsQueryKey: (variables?: object) => readonly ["agentthread", "list", object];
/**
 * Top-level AI/LLM conversation thread
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAgentThreadsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAgentThreadsQuery<S extends AgentThreadSelect, TData = {
    agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentThreadFilter, AgentThreadOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
} & Omit<UseQueryOptions<{
    agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Top-level AI/LLM conversation thread
 *
 * @example
 * ```ts
 * const data = await fetchAgentThreadsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAgentThreadsQuery<S extends AgentThreadSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentThreadFilter, AgentThreadOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
}): Promise<{
    agentThreads: ConnectionResult<InferSelectResult<AgentThreadWithRelations, S>>;
}>;
/**
 * Top-level AI/LLM conversation thread
 *
 * @example
 * ```ts
 * await prefetchAgentThreadsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAgentThreadsQuery<S extends AgentThreadSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentThreadFilter, AgentThreadOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentThreadSelect>;
}): Promise<void>;
