/**
 * App-scoped PGP-encrypted internal secrets store. No namespace_module dependency and no K8s synchronization. Used by identity_providers_module for OAuth2 client_secret storage.
 * @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 { InternalSecretsModuleSelect, InternalSecretsModuleWithRelations, InternalSecretsModuleFilter, InternalSecretsModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { InternalSecretsModuleSelect, InternalSecretsModuleWithRelations, InternalSecretsModuleFilter, InternalSecretsModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const internalSecretsModulesQueryKey: (variables?: object) => readonly ["internalsecretsmodule", "list", object];
/**
 * App-scoped PGP-encrypted internal secrets store. No namespace_module dependency and no K8s synchronization. Used by identity_providers_module for OAuth2 client_secret storage.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useInternalSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useInternalSecretsModulesQuery<S extends InternalSecretsModuleSelect, TData = {
    internalSecretsModules: ConnectionResult<InferSelectResult<InternalSecretsModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InternalSecretsModuleFilter, InternalSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InternalSecretsModuleSelect>;
} & Omit<UseQueryOptions<{
    internalSecretsModules: ConnectionResult<InferSelectResult<InternalSecretsModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * App-scoped PGP-encrypted internal secrets store. No namespace_module dependency and no K8s synchronization. Used by identity_providers_module for OAuth2 client_secret storage.
 *
 * @example
 * ```ts
 * const data = await fetchInternalSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchInternalSecretsModulesQuery<S extends InternalSecretsModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InternalSecretsModuleFilter, InternalSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InternalSecretsModuleSelect>;
}): Promise<{
    internalSecretsModules: ConnectionResult<InferSelectResult<InternalSecretsModuleWithRelations, S>>;
}>;
/**
 * App-scoped PGP-encrypted internal secrets store. No namespace_module dependency and no K8s synchronization. Used by identity_providers_module for OAuth2 client_secret storage.
 *
 * @example
 * ```ts
 * await prefetchInternalSecretsModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchInternalSecretsModulesQuery<S extends InternalSecretsModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, InternalSecretsModuleFilter, InternalSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, InternalSecretsModuleSelect>;
}): Promise<void>;
