/**
 * Entity-aware PGP-encrypted key-value config/secrets module. Supports app-level (admin-only)
     and org-scoped (per-org secrets with manage_secrets permission) via the scope column.
     User-scoped bcrypt credentials are handled by user_credentials_module.
 * @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 { ConfigSecretsModuleSelect, ConfigSecretsModuleWithRelations, ConfigSecretsModuleFilter, ConfigSecretsModuleOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSecretsModuleSelect, ConfigSecretsModuleWithRelations, ConfigSecretsModuleFilter, ConfigSecretsModuleOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const configSecretsModulesQueryKey: (variables?: object) => readonly ["configsecretsmodule", "list", object];
/**
 * Entity-aware PGP-encrypted key-value config/secrets module. Supports app-level (admin-only)
     and org-scoped (per-org secrets with manage_secrets permission) via the scope column.
     User-scoped bcrypt credentials are handled by user_credentials_module.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useConfigSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useConfigSecretsModulesQuery<S extends ConfigSecretsModuleSelect, TData = {
    configSecretsModules: ConnectionResult<InferSelectResult<ConfigSecretsModuleWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ConfigSecretsModuleFilter, ConfigSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConfigSecretsModuleSelect>;
} & Omit<UseQueryOptions<{
    configSecretsModules: ConnectionResult<InferSelectResult<ConfigSecretsModuleWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Entity-aware PGP-encrypted key-value config/secrets module. Supports app-level (admin-only)
     and org-scoped (per-org secrets with manage_secrets permission) via the scope column.
     User-scoped bcrypt credentials are handled by user_credentials_module.
 *
 * @example
 * ```ts
 * const data = await fetchConfigSecretsModulesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchConfigSecretsModulesQuery<S extends ConfigSecretsModuleSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ConfigSecretsModuleFilter, ConfigSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConfigSecretsModuleSelect>;
}): Promise<{
    configSecretsModules: ConnectionResult<InferSelectResult<ConfigSecretsModuleWithRelations, S>>;
}>;
/**
 * Entity-aware PGP-encrypted key-value config/secrets module. Supports app-level (admin-only)
     and org-scoped (per-org secrets with manage_secrets permission) via the scope column.
     User-scoped bcrypt credentials are handled by user_credentials_module.
 *
 * @example
 * ```ts
 * await prefetchConfigSecretsModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchConfigSecretsModulesQuery<S extends ConfigSecretsModuleSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, ConfigSecretsModuleFilter, ConfigSecretsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConfigSecretsModuleSelect>;
}): Promise<void>;
