import { StravaApi } from './strava-api'; import { LogOpts } from './util'; export type OpenUrlFunction = (target: string) => Promise; export type ServerOpts = LogOpts & { open: OpenUrlFunction; }; export declare class Server { strava: any; server: any; result: { resolve?: string; reject?: string; }; private _log; private _openUrl; constructor(strava: StravaApi, opts: ServerOpts); run(): Promise; close(): void; }