export declare function lookupDocFile(name: string): string; export declare function expandHtml(html: string, params?: pxt.Map, appTheme?: pxt.AppTheme): string; export declare function expandDocTemplateCore(template: string): string; export declare function expandDocFileTemplate(name: string): string; export interface ServeOptions { localToken: string; autoStart: boolean; packaged?: boolean; browser?: string; port?: number; hostname?: string; wsPort?: number; serial?: boolean; noauth?: boolean; backport?: number; https?: boolean; } export declare function compileScriptAsync(id: string): Promise; export declare function serveAsync(options: ServeOptions): Promise;