export function run(appRootOrHandler: any, handler?: string): Promise;