/**
 * Delete 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 } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { RoleTypeSelect, RoleTypeWithRelations } from '../../orm/input-types';
/**
 * Mutation hook for deleting a RoleType with typed selection
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useDeleteRoleTypeMutation({
 *   selection: { fields: { id: true } },
 * });
 *
 * mutate({ id: 123 });
 * ```
 */
export declare function useDeleteRoleTypeMutation<S extends RoleTypeSelect>(params: {
    selection: {
        fields: S & RoleTypeSelect;
    } & HookStrictSelect<NoInfer<S>, RoleTypeSelect>;
} & Omit<UseMutationOptions<{
    deleteRoleType: {
        roleType: InferSelectResult<RoleTypeWithRelations, S>;
    };
}, Error, {
    id: number;
}>, 'mutationFn'>): UseMutationResult<{
    deleteRoleType: {
        roleType: InferSelectResult<RoleTypeWithRelations, S>;
    };
}, Error, {
    id: number;
}>;
