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