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