/**
 * 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 { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations, PlatformResourceDefinitionPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations, PlatformResourceDefinitionPatch, } from '../../orm/input-types';
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePlatformResourceDefinitionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', platformResourceDefinitionPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePlatformResourceDefinitionMutation<S extends PlatformResourceDefinitionSelect>(params: {
    selection: {
        fields: S & PlatformResourceDefinitionSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
} & Omit<UseMutationOptions<{
    updatePlatformResourceDefinition: {
        platformResourceDefinition: InferSelectResult<PlatformResourceDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    platformResourceDefinitionPatch: PlatformResourceDefinitionPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePlatformResourceDefinition: {
        platformResourceDefinition: InferSelectResult<PlatformResourceDefinitionWithRelations, S>;
    };
}, Error, {
    id: string;
    platformResourceDefinitionPatch: PlatformResourceDefinitionPatch;
}>;
