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