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