/**
 * Create mutation hook for PermissionsModule
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { PermissionsModuleSelect, PermissionsModuleWithRelations, CreatePermissionsModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { PermissionsModuleSelect, PermissionsModuleWithRelations, CreatePermissionsModuleInput, } from '../../orm/input-types';
/**
 * Mutation hook for creating a PermissionsModule
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreatePermissionsModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreatePermissionsModuleMutation<S extends PermissionsModuleSelect>(params: {
    selection: {
        fields: S & PermissionsModuleSelect;
    } & HookStrictSelect<NoInfer<S>, PermissionsModuleSelect>;
} & Omit<UseMutationOptions<{
    createPermissionsModule: {
        permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
    };
}, Error, CreatePermissionsModuleInput['permissionsModule']>, 'mutationFn'>): UseMutationResult<{
    createPermissionsModule: {
        permissionsModule: InferSelectResult<PermissionsModuleWithRelations, S>;
    };
}, Error, CreatePermissionsModuleInput['permissionsModule']>;
