/**
 * Global secret name registry — declares which secrets the platform recognizes. Actual values live in app_secrets.
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { SecretDefinitionSelect, SecretDefinitionWithRelations, SecretDefinitionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SecretDefinitionSelect, SecretDefinitionWithRelations, SecretDefinitionPatch, } from '../../orm/input-types';
/**
 * Global secret name registry — declares which secrets the platform recognizes. Actual values live in app_secrets.
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateSecretDefinitionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', secretDefinitionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateSecretDefinitionMutation<S extends SecretDefinitionSelect>(params: {
    selection: {
        fields: S & SecretDefinitionSelect;
    } & HookStrictSelect<NoInfer<S>, SecretDefinitionSelect>;
} & Omit<UseMutationOptions<{
    updateSecretDefinition: {
        secretDefinition: InferSelectResult<SecretDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    secretDefinitionPatch: SecretDefinitionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateSecretDefinition: {
        secretDefinition: InferSelectResult<SecretDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    secretDefinitionPatch: SecretDefinitionPatch;
}>;
