import type { RequestHandler } from '@umijs/bundler-utils/compiled/express'; export interface IOpts { base: string; routes: Record; links?: Record[]; metas?: Record[]; styles?: (Record | string)[]; favicons?: string[]; title?: string; headScripts?: (Record | string)[]; scripts?: (Record | string)[]; mountElementId?: string; esmScript?: boolean; modifyHTML?: (html: string, args: { path?: string; }) => Promise; historyType?: 'hash' | 'browser'; } export declare function getMarkup(opts: Omit & { path?: string; }): Promise; export declare function createRequestHandler(opts: IOpts): RequestHandler;