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