/**
 * Single item query hook for UserConnectedAccount
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { UserConnectedAccountSelect, UserConnectedAccountWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { UserConnectedAccountSelect, UserConnectedAccountWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const userConnectedAccountQueryKey: (id: string | number) => readonly ["userconnectedaccount", "detail", string | number];
/**
 * Query hook for fetching a single UserConnectedAccount
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useUserConnectedAccountQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useUserConnectedAccountQuery<S extends UserConnectedAccountSelect, TData = {
    userConnectedAccount: InferSelectResult<UserConnectedAccountWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, UserConnectedAccountSelect>;
} & Omit<UseQueryOptions<{
    userConnectedAccount: InferSelectResult<UserConnectedAccountWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single UserConnectedAccount without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchUserConnectedAccountQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchUserConnectedAccountQuery<S extends UserConnectedAccountSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, UserConnectedAccountSelect>;
}): Promise<{
    userConnectedAccount: InferSelectResult<UserConnectedAccountWithRelations, S> | null;
}>;
/**
 * Prefetch a single UserConnectedAccount for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchUserConnectedAccountQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchUserConnectedAccountQuery<S extends UserConnectedAccountSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, UserConnectedAccountSelect>;
}): Promise<void>;
