/**
 * Single item query hook for InvitesModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { InvitesModuleSelect, InvitesModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InvitesModuleSelect, InvitesModuleWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const invitesModuleQueryKey: (id: string | number) => readonly ["invitesmodule", "detail", string | number];
/**
 * Query hook for fetching a single InvitesModule
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useInvitesModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useInvitesModuleQuery<S extends InvitesModuleSelect, TData = {
    invitesModule: InferSelectResult<InvitesModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InvitesModuleSelect>;
} & Omit<UseQueryOptions<{
    invitesModule: InferSelectResult<InvitesModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch a single InvitesModule without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchInvitesModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchInvitesModuleQuery<S extends InvitesModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InvitesModuleSelect>;
}): Promise<{
    invitesModule: InferSelectResult<InvitesModuleWithRelations, S> | null;
}>;
/**
 * Prefetch a single InvitesModule for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchInvitesModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchInvitesModuleQuery<S extends InvitesModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InvitesModuleSelect>;
}): Promise<void>;
