/**
 * Namespace-backed PGP-encrypted key-value secrets module. Requires namespace_module and emits namespace:sync_secrets job triggers for K8s Secret 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 { InfraSecretsModuleSelect, InfraSecretsModuleWithRelations, InfraSecretsModuleFilter, InfraSecretsModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraSecretsModuleSelect, InfraSecretsModuleWithRelations, InfraSecretsModuleFilter, InfraSecretsModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const infraSecretsModulesQueryKey: (variables?: object) => readonly ["infrasecretsmodule", "list", object];
/**
 * Namespace-backed PGP-encrypted key-value secrets module. Requires namespace_module and emits namespace:sync_secrets job triggers for K8s Secret synchronization.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useInfraSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useInfraSecretsModulesQuery<S extends InfraSecretsModuleSelect, TData = {
    infraSecretsModules: ConnectionResult<InferSelectResult<InfraSecretsModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraSecretsModuleFilter, InfraSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraSecretsModuleSelect>;
} & Omit<UseQueryOptions<{
    infraSecretsModules: ConnectionResult<InferSelectResult<InfraSecretsModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Namespace-backed PGP-encrypted key-value secrets module. Requires namespace_module and emits namespace:sync_secrets job triggers for K8s Secret synchronization.
 *
 * @example
 * ```ts
 * const data = await fetchInfraSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchInfraSecretsModulesQuery<S extends InfraSecretsModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraSecretsModuleFilter, InfraSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraSecretsModuleSelect>;
}): Promise<{
    infraSecretsModules: ConnectionResult<InferSelectResult<InfraSecretsModuleWithRelations, S>>;
}>;
/**
 * Namespace-backed PGP-encrypted key-value secrets module. Requires namespace_module and emits namespace:sync_secrets job triggers for K8s Secret synchronization.
 *
 * @example
 * ```ts
 * await prefetchInfraSecretsModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchInfraSecretsModulesQuery<S extends InfraSecretsModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InfraSecretsModuleFilter, InfraSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InfraSecretsModuleSelect>;
}): Promise<void>;
