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