/**
 * 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 { ListSelectionConfig } from '../selection';
import type { InfraConfigModuleSelect, InfraConfigModuleWithRelations, InfraConfigModuleFilter, InfraConfigModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraConfigModuleSelect, InfraConfigModuleWithRelations, InfraConfigModuleFilter, InfraConfigModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const infraConfigModulesQueryKey: (variables?: object) => readonly ["infraconfigmodule", "list", object];
/**
 * 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 } = useInfraConfigModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useInfraConfigModulesQuery<S extends InfraConfigModuleSelect, TData = {
    infraConfigModules: ConnectionResult<InferSelectResult<InfraConfigModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraConfigModuleFilter, InfraConfigModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
} & Omit<UseQueryOptions<{
    infraConfigModules: ConnectionResult<InferSelectResult<InfraConfigModuleWithRelations, S>>;
}, 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 fetchInfraConfigModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchInfraConfigModulesQuery<S extends InfraConfigModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraConfigModuleFilter, InfraConfigModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
}): Promise<{
    infraConfigModules: ConnectionResult<InferSelectResult<InfraConfigModuleWithRelations, S>>;
}>;
/**
 * Namespace-backed plaintext key-value config module. Requires namespace_module and emits namespace:sync_config job triggers for K8s ConfigMap synchronization.
 *
 * @example
 * ```ts
 * await prefetchInfraConfigModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchInfraConfigModulesQuery<S extends InfraConfigModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraConfigModuleFilter, InfraConfigModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraConfigModuleSelect>;
}): Promise<void>;
