/**
 * Create mutation hook for Function
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { FunctionSelect, FunctionWithRelations, CreateFunctionInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionSelect, FunctionWithRelations, CreateFunctionInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a Function
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateFunctionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateFunctionMutation<S extends FunctionSelect>(params: {
    selection: {
        fields: S & FunctionSelect;
    } & HookStrictSelect<NoInfer<S>, FunctionSelect>;
} & Omit<UseMutationOptions<{
    createFunction: {
        function: InferSelectResult<FunctionWithRelations, S>;
    };
}, Error, CreateFunctionInput['function']>, 'mutationFn'>): UseMutationResult<{
    createFunction: {
        function: InferSelectResult<FunctionWithRelations, S>;
    };
}, Error, CreateFunctionInput['function']>;
