/**
 * Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
import type { SiteModuleSelect, SiteModuleWithRelations, CreateSiteModuleInput } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteModuleSelect, SiteModuleWithRelations, CreateSiteModuleInput, } from '../../orm/input-types';
/**
 * Site-level module configuration; stores module name and JSON settings used by the frontend or server for each site
 *
 * @example
 * ```tsx
 * const { mutate, isPending } = useCreateSiteModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ name: 'New item' });
 * ```
 */
export declare function useCreateSiteModuleMutation<S extends SiteModuleSelect>(params: {
    selection: {
        fields: S & SiteModuleSelect;
    } & HookStrictSelect<NoInfer<S>, SiteModuleSelect>;
} & Omit<UseMutationOptions<{
    createSiteModule: {
        siteModule: InferSelectResult<SiteModuleWithRelations, S>;
    };
}, Error, CreateSiteModuleInput['siteModule']>, 'mutationFn'>): UseMutationResult<{
    createSiteModule: {
        siteModule: InferSelectResult<SiteModuleWithRelations, S>;
    };
}, Error, CreateSiteModuleInput['siteModule']>;
