/**
 * 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, SiteModulePatch } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { SiteModuleSelect, SiteModuleWithRelations, SiteModulePatch, } 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 } = useUpdateSiteModuleMutation({
 *   selection: { fields: { id: true, name: true } },
 * });
 *
 * mutate({ id: 'value-here', siteModulePatch: { name: 'Updated' } });
 * ```
 */
export declare function useUpdateSiteModuleMutation<S extends SiteModuleSelect>(params: {
    selection: {
        fields: S & SiteModuleSelect;
    } & HookStrictSelect<NoInfer<S>, SiteModuleSelect>;
} & Omit<UseMutationOptions<{
    updateSiteModule: {
        siteModule: InferSelectResult<SiteModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    siteModulePatch: SiteModulePatch;
}>, 'mutationFn'>): UseMutationResult<{
    updateSiteModule: {
        siteModule: InferSelectResult<SiteModuleWithRelations, S>;
    };
}, Error, {
    id: string;
    siteModulePatch: SiteModulePatch;
}>;
