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