/**
 * List 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 { ListSelectionConfig } from '../selection';
import type { UserConnectedAccountSelect, UserConnectedAccountWithRelations, UserConnectedAccountFilter, UserConnectedAccountOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { UserConnectedAccountSelect, UserConnectedAccountWithRelations, UserConnectedAccountFilter, UserConnectedAccountOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const userConnectedAccountsQueryKey: (variables?: object) => readonly ["userconnectedaccount", "list", object];
/**
 * Query hook for fetching UserConnectedAccount list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useUserConnectedAccountsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useUserConnectedAccountsQuery<S extends UserConnectedAccountSelect, TData = {
    userConnectedAccounts: ConnectionResult<InferSelectResult<UserConnectedAccountWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, UserConnectedAccountFilter, UserConnectedAccountOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, UserConnectedAccountSelect>;
} & Omit<UseQueryOptions<{
    userConnectedAccounts: ConnectionResult<InferSelectResult<UserConnectedAccountWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch UserConnectedAccount list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchUserConnectedAccountsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchUserConnectedAccountsQuery<S extends UserConnectedAccountSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, UserConnectedAccountFilter, UserConnectedAccountOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, UserConnectedAccountSelect>;
}): Promise<{
    userConnectedAccounts: ConnectionResult<InferSelectResult<UserConnectedAccountWithRelations, S>>;
}>;
/**
 * Prefetch UserConnectedAccount list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchUserConnectedAccountsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchUserConnectedAccountsQuery<S extends UserConnectedAccountSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, UserConnectedAccountFilter, UserConnectedAccountOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, UserConnectedAccountSelect>;
}): Promise<void>;
