/**
 * 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 { InfraSecretsModuleSelect, InfraSecretsModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { InfraSecretsModuleSelect, InfraSecretsModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const infraSecretsModuleQueryKey: (id: string | number) => readonly ["infrasecretsmodule", "detail", string | number];
/**
 * 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 } = useInfraSecretsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useInfraSecretsModuleQuery<S extends InfraSecretsModuleSelect, TData = {
    infraSecretsModule: InferSelectResult<InfraSecretsModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InfraSecretsModuleSelect>;
} & Omit<UseQueryOptions<{
    infraSecretsModule: InferSelectResult<InfraSecretsModuleWithRelations, S> | null;
}, 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 fetchInfraSecretsModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchInfraSecretsModuleQuery<S extends InfraSecretsModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InfraSecretsModuleSelect>;
}): Promise<{
    infraSecretsModule: InferSelectResult<InfraSecretsModuleWithRelations, S> | null;
}>;
/**
 * 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 prefetchInfraSecretsModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchInfraSecretsModuleQuery<S extends InfraSecretsModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, InfraSecretsModuleSelect>;
}): Promise<void>;
