/**
 * 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, CreatePlatformResourceInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceSelect, PlatformResourceWithRelations, CreatePlatformResourceInput, } 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 } = useCreatePlatformResourceMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreatePlatformResourceMutation<S extends PlatformResourceSelect>(params: {
    selection: {
        fields: S & PlatformResourceSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceSelect>;
} & Omit<UseMutationOptions<{
    createPlatformResource: {
        platformResource: InferSelectResult<PlatformResourceWithRelations, S>;
    };
}, Error, CreatePlatformResourceInput['platformResource']>, 'mutationFn'>): UseMutationResult<{
    createPlatformResource: {
        platformResource: InferSelectResult<PlatformResourceWithRelations, S>;
    };
}, Error, CreatePlatformResourceInput['platformResource']>;
