/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { ResourceDefinitionSelect, ResourceDefinitionWithRelations, CreateResourceDefinitionInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { ResourceDefinitionSelect, ResourceDefinitionWithRelations, CreateResourceDefinitionInput, } from '../../orm/input-types';
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateResourceDefinitionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateResourceDefinitionMutation<S extends ResourceDefinitionSelect>(params: {
    selection: {
        fields: S & ResourceDefinitionSelect;
    } & HookStrictSelect<NoInfer<S>, ResourceDefinitionSelect>;
} & Omit<UseMutationOptions<{
    createResourceDefinition: {
        resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S>;
    };
}, Error, CreateResourceDefinitionInput['resourceDefinition']>, 'mutationFn'>): UseMutationResult<{
    createResourceDefinition: {
        resourceDefinition: InferSelectResult<ResourceDefinitionWithRelations, S>;
    };
}, Error, CreateResourceDefinitionInput['resourceDefinition']>;
