/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleWithRelations, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const configSecretsOrgModuleQueryKey: (id: string | number) => readonly ["configsecretsorgmodule", "detail", string | number];
/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useConfigSecretsOrgModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useConfigSecretsOrgModuleQuery<S extends ConfigSecretsOrgModuleSelect, TData = {
    configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ConfigSecretsOrgModuleSelect>;
} & Omit<UseQueryOptions<{
    configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 *
 * @example
 * ```ts
 * const data = await fetchConfigSecretsOrgModuleQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchConfigSecretsOrgModuleQuery<S extends ConfigSecretsOrgModuleSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ConfigSecretsOrgModuleSelect>;
}): Promise<{
    configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S> | null;
}>;
/**
 * Config row for the config_secrets_org_module, which provisions an organization-scoped encrypted key-value secrets store with manage_secrets permission and entity-membership RLS.
 *
 * @example
 * ```ts
 * await prefetchConfigSecretsOrgModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchConfigSecretsOrgModuleQuery<S extends ConfigSecretsOrgModuleSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, ConfigSecretsOrgModuleSelect>;
}): Promise<void>;
