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