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