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