/**
 * Agent persona templates (role, system prompt, default skills/knowledge)
 * @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 { AgentPersonaSelect, AgentPersonaWithRelations, AgentPersonaFilter, AgentPersonaOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentPersonaSelect, AgentPersonaWithRelations, AgentPersonaFilter, AgentPersonaOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const agentPersonasQueryKey: (variables?: object) => readonly ["agentpersona", "list", object];
/**
 * Agent persona templates (role, system prompt, default skills/knowledge)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAgentPersonasQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAgentPersonasQuery<S extends AgentPersonaSelect, TData = {
    agentPersonas: ConnectionResult<InferSelectResult<AgentPersonaWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentPersonaFilter, AgentPersonaOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentPersonaSelect>;
} & Omit<UseQueryOptions<{
    agentPersonas: ConnectionResult<InferSelectResult<AgentPersonaWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Agent persona templates (role, system prompt, default skills/knowledge)
 *
 * @example
 * ```ts
 * const data = await fetchAgentPersonasQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAgentPersonasQuery<S extends AgentPersonaSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentPersonaFilter, AgentPersonaOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentPersonaSelect>;
}): Promise<{
    agentPersonas: ConnectionResult<InferSelectResult<AgentPersonaWithRelations, S>>;
}>;
/**
 * Agent persona templates (role, system prompt, default skills/knowledge)
 *
 * @example
 * ```ts
 * await prefetchAgentPersonasQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAgentPersonasQuery<S extends AgentPersonaSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AgentPersonaFilter, AgentPersonaOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AgentPersonaSelect>;
}): Promise<void>;
