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