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