import { Response, NextFunction } from 'express'; import { PayloadRequest } from '../../express/types'; import { SanitizedGlobalConfig } from '../config/types'; import { Document } from '../../types'; export declare type UpdateGlobalResult = Promise | void>; export declare type UpdateGlobalResponse = (req: PayloadRequest, res: Response, next: NextFunction) => UpdateGlobalResult; export default function updateHandler(globalConfig: SanitizedGlobalConfig): UpdateGlobalResponse;