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