/**
 * 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceSelect, ResourceWithRelations } 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 } = useDeleteResourceMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 'value-to-delete' });
 * ```
 */
export declare function useDeleteResourceMutation<S extends ResourceSelect>(params: {
    selection: {
        fields: S & ResourceSelect;
    } & HookStrictSelect<NoInfer<S>, ResourceSelect>;
} & Omit<UseMutationOptions<{
    deleteResource: {
        resource: InferSelectResult<ResourceWithRelations, S>;
    };
}, Error, {
    id: string;
}>, 'mutationFn'>): UseMutationResult<{
    deleteResource: {
        resource: InferSelectResult<ResourceWithRelations, S>;
    };
}, Error, {
    id: string;
}>;
