/**
 * 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 { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleWithRelations, ConfigSecretsOrgModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ConfigSecretsOrgModuleSelect, ConfigSecretsOrgModuleWithRelations, ConfigSecretsOrgModulePatch, } from '../../orm/input-types';
/**
 * 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 { mutate, isPending } = useUpdateConfigSecretsOrgModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', configSecretsOrgModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateConfigSecretsOrgModuleMutation<S extends ConfigSecretsOrgModuleSelect>(params: {
    selection: {
        fields: S & ConfigSecretsOrgModuleSelect;
    } & HookStrictSelect<NoInfer<S>, ConfigSecretsOrgModuleSelect>;
} & Omit<UseMutationOptions<{
    updateConfigSecretsOrgModule: {
        configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    configSecretsOrgModulePatch: ConfigSecretsOrgModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateConfigSecretsOrgModule: {
        configSecretsOrgModule: InferSelectResult<ConfigSecretsOrgModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    configSecretsOrgModulePatch: ConfigSecretsOrgModulePatch;
}>;
