CreateRequestHandlerFunction: ((build: ServerBuild | (() => ServerBuild | Promise<ServerBuild>), mode?: string) => RequestHandler)