/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations, PlatformInfraObjectPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformInfraObjectSelect, PlatformInfraObjectWithRelations, PlatformInfraObjectPatch, } from '../../orm/input-types';
/**
 * Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePlatformInfraObjectMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', platformInfraObjectPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePlatformInfraObjectMutation<S extends PlatformInfraObjectSelect>(params: {
    selection: {
        fields: S & PlatformInfraObjectSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformInfraObjectSelect>;
} & Omit<UseMutationOptions<{
    updatePlatformInfraObject: {
        platformInfraObject: InferSelectResult<PlatformInfraObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    scopeId: string;
    platformInfraObjectPatch: PlatformInfraObjectPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePlatformInfraObject: {
        platformInfraObject: InferSelectResult<PlatformInfraObjectWithRelations, S>;
    };
}, Error, {
    id: string;
    scopeId: string;
    platformInfraObjectPatch: PlatformInfraObjectPatch;
}>;
