/**
 * Single item 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 { NotificationsModuleSelect, NotificationsModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { NotificationsModuleSelect, NotificationsModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const notificationsModuleQueryKey: (id: string | number) => readonly ["notificationsmodule", "detail", string | number];
/**
 * Query hook for fetching a single NotificationsModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useNotificationsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useNotificationsModuleQuery<S extends NotificationsModuleSelect, TData = {
    notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, NotificationsModuleSelect>;
} & Omit<UseQueryOptions<{
    notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single NotificationsModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchNotificationsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchNotificationsModuleQuery<S extends NotificationsModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, NotificationsModuleSelect>;
}): Promise<{
    notificationsModule: InferSelectResult<NotificationsModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single NotificationsModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchNotificationsModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchNotificationsModuleQuery<S extends NotificationsModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, NotificationsModuleSelect>;
}): Promise<void>;
