/**
 * 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 { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations, CreatePlatformResourceDefinitionInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PlatformResourceDefinitionSelect, PlatformResourceDefinitionWithRelations, CreatePlatformResourceDefinitionInput, } from '../../orm/input-types';
/**
 * Resource definitions — templates for resource kinds declaring default spec and secret/config requirements
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreatePlatformResourceDefinitionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreatePlatformResourceDefinitionMutation<S extends PlatformResourceDefinitionSelect>(params: {
    selection: {
        fields: S & PlatformResourceDefinitionSelect;
    } & HookStrictSelect<NoInfer<S>, PlatformResourceDefinitionSelect>;
} & Omit<UseMutationOptions<{
    createPlatformResourceDefinition: {
        platformResourceDefinition: InferSelectResult<PlatformResourceDefinitionWithRelations, S>;
    };
}, Error, CreatePlatformResourceDefinitionInput['platformResourceDefinition']>, 'mutationFn'>): UseMutationResult<{
    createPlatformResourceDefinition: {
        platformResourceDefinition: InferSelectResult<PlatformResourceDefinitionWithRelations, S>;
    };
}, Error, CreatePlatformResourceDefinitionInput['platformResourceDefinition']>;
