/**
 * 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 { AppPermissionDefaultSelect, AppPermissionDefaultWithRelations, AppPermissionDefaultPatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppPermissionDefaultSelect, AppPermissionDefaultWithRelations, AppPermissionDefaultPatch, } from '../../orm/input-types';
/**
 * Stores the default permission bitmask assigned to new members upon joining
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useUpdateAppPermissionDefaultMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', appPermissionDefaultPatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateAppPermissionDefaultMutation<S extends AppPermissionDefaultSelect>(params: {
    selection: {
        fields: S & AppPermissionDefaultSelect;
    } & HookStrictSelect<NoInfer<S>, AppPermissionDefaultSelect>;
} & Omit<UseMutationOptions<{
    updateAppPermissionDefault: {
        appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S>;
    };
}, Error, {
    id: string;
    appPermissionDefaultPatch: AppPermissionDefaultPatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateAppPermissionDefault: {
        appPermissionDefault: InferSelectResult<AppPermissionDefaultWithRelations, S>;
    };
}, Error, {
    id: string;
    appPermissionDefaultPatch: AppPermissionDefaultPatch;
}>;
