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