/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { InfraConfigModuleSelect, InfraConfigModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraConfigModuleSelect, InfraConfigModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const infraConfigModuleQueryKey: (id: string | number) => readonly ["infraconfigmodule", "detail", string | number];
/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useInfraConfigModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useInfraConfigModuleQuery<S extends InfraConfigModuleSelect, TData = {
    infraConfigModule: InferSelectResult<InfraConfigModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
} & Omit<UseQueryOptions<{
    infraConfigModule: InferSelectResult<InfraConfigModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 *
 * @example
 * ```ts
 * const data = await fetchInfraConfigModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchInfraConfigModuleQuery<S extends InfraConfigModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
}): Promise<{
    infraConfigModule: InferSelectResult<InfraConfigModuleWithRelations, S> | null;
}>;
/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 *
 * @example
 * ```ts
 * await prefetchInfraConfigModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchInfraConfigModuleQuery<S extends InfraConfigModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
}): Promise<void>;
