/**
 * Join table linking permission defaults to individual permissions; recompute trigger rebuilds 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 { AppPermissionDefaultPermissionSelect, AppPermissionDefaultPermissionWithRelations, CreateAppPermissionDefaultPermissionInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppPermissionDefaultPermissionSelect, AppPermissionDefaultPermissionWithRelations, CreateAppPermissionDefaultPermissionInput, } from '../../orm/input-types';
/**
 * Join table linking permission defaults to individual permissions; recompute trigger rebuilds the defaults bitmask
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateAppPermissionDefaultPermissionMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateAppPermissionDefaultPermissionMutation<S extends AppPermissionDefaultPermissionSelect>(params: {
    selection: {
        fields: S & AppPermissionDefaultPermissionSelect;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultPermissionSelect>;
} & Omit<UseMutationOptions<{
    createAppPermissionDefaultPermission: {
        appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>;
    };
}, Error, CreateAppPermissionDefaultPermissionInput['appPermissionDefaultPermission']>, 'mutationFn'>): UseMutationResult<{
    createAppPermissionDefaultPermission: {
        appPermissionDefaultPermission: InferSelectResult<AppPermissionDefaultPermissionWithRelations, S>;
    };
}, Error, CreateAppPermissionDefaultPermissionInput['appPermissionDefaultPermission']>;
