/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ResourceDefinitionSelect, ResourceDefinitionWithRelations, ResourceDefinitionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceDefinitionSelect, ResourceDefinitionWithRelations, ResourceDefinitionPatch, } from '../../orm/input-types';
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateResourceDefinitionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', resourceDefinitionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateResourceDefinitionMutation<S extends ResourceDefinitionSelect>(params: {
    selection: {
        fields: S & ResourceDefinitionSelect;
    } & HookStrictSelect<NoInfer<S>, ResourceDefinitionSelect>;
} & Omit<UseMutationOptions<{
    updateResourceDefinition: {
        resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    resourceDefinitionPatch: ResourceDefinitionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateResourceDefinition: {
        resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    resourceDefinitionPatch: ResourceDefinitionPatch;
}>;
