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