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