/**
 * 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 { AgentPersonaSelect, AgentPersonaWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AgentPersonaSelect, AgentPersonaWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const agentPersonaQueryKey: (id: string | number) => readonly ["agentpersona", "detail", string | number];
/**
 * Agent persona templates (role, system prompt, default skills/knowledge)
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAgentPersonaQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAgentPersonaQuery<S extends AgentPersonaSelect, TData = {
    agentPersona: InferSelectResult<AgentPersonaWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AgentPersonaSelect>;
} & Omit<UseQueryOptions<{
    agentPersona: InferSelectResult<AgentPersonaWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Agent persona templates (role, system prompt, default skills/knowledge)
 *
 * @example
 * ```ts
 * const data = await fetchAgentPersonaQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAgentPersonaQuery<S extends AgentPersonaSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AgentPersonaSelect>;
}): Promise<{
    agentPersona: InferSelectResult<AgentPersonaWithRelations, S> | null;
}>;
/**
 * Agent persona templates (role, system prompt, default skills/knowledge)
 *
 * @example
 * ```ts
 * await prefetchAgentPersonaQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAgentPersonaQuery<S extends AgentPersonaSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AgentPersonaSelect>;
}): Promise<void>;
