/**
 * Stores the default permission bitmask assigned to new members upon joining
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { OrgPermissionDefaultSelect, OrgPermissionDefaultWithRelations, OrgPermissionDefaultPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgPermissionDefaultSelect, OrgPermissionDefaultWithRelations, OrgPermissionDefaultPatch, } from '../../orm/input-types';
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateOrgPermissionDefaultMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', orgPermissionDefaultPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateOrgPermissionDefaultMutation<S extends OrgPermissionDefaultSelect>(params: {
    selection: {
        fields: S & OrgPermissionDefaultSelect;
    } & HookStrictSelect<NoInfer<S>, OrgPermissionDefaultSelect>;
} & Omit<UseMutationOptions<{
    updateOrgPermissionDefault: {
        orgPermissionDefault: InferSelectResult<OrgPermissionDefaultWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionDefaultPatch: OrgPermissionDefaultPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateOrgPermissionDefault: {
        orgPermissionDefault: InferSelectResult<OrgPermissionDefaultWithRelations, S>;
    };
}, Error, {
    id: string;
    orgPermissionDefaultPatch: OrgPermissionDefaultPatch;
}>;
