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