/**
 * Audit log of permission additions and removals from the defaults bitmask
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { AppPermissionDefaultGrantSelect, AppPermissionDefaultGrantWithRelations, CreateAppPermissionDefaultGrantInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppPermissionDefaultGrantSelect, AppPermissionDefaultGrantWithRelations, CreateAppPermissionDefaultGrantInput, } from '../../orm/input-types';
/**
 * Audit log of permission additions and removals from the defaults bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAppPermissionDefaultGrantMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAppPermissionDefaultGrantMutation<S extends AppPermissionDefaultGrantSelect>(params: {
    selection: {
        fields: S & AppPermissionDefaultGrantSelect;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultGrantSelect>;
} & Omit<UseMutationOptions<{
    createAppPermissionDefaultGrant: {
        appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S>;
    };
}, Error, CreateAppPermissionDefaultGrantInput['appPermissionDefaultGrant']>, 'mutationFn'>): UseMutationResult<{
    createAppPermissionDefaultGrant: {
        appPermissionDefaultGrant: InferSelectResult<AppPermissionDefaultGrantWithRelations, S>;
    };
}, Error, CreateAppPermissionDefaultGrantInput['appPermissionDefaultGrant']>;
