/**
 * Unified K8s resource declarations — stores desired state (spec) and observed state (status) for all resource kinds within a namespace
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PlatformResourceSelect, PlatformResourceWithRelations, PlatformResourcePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceSelect, PlatformResourceWithRelations, PlatformResourcePatch, } from '../../orm/input-types';
/**
 * Unified K8s resource declarations — stores desired state (spec) and observed state (status) for all resource kinds within a namespace
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdatePlatformResourceMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', platformResourcePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdatePlatformResourceMutation<S extends PlatformResourceSelect>(params: {
    selection: {
        fields: S & PlatformResourceSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceSelect>;
} & Omit<UseMutationOptions<{
    updatePlatformResource: {
        platformResource: InferSelectResult<PlatformResourceWithRelations, S>;
    };
}, Error, {
    id: string;
    platformResourcePatch: PlatformResourcePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updatePlatformResource: {
        platformResource: InferSelectResult<PlatformResourceWithRelations, S>;
    };
}, Error, {
    id: string;
    platformResourcePatch: PlatformResourcePatch;
}>;
