/** * Options for the `run` command. * This is passed from Commander to the `run` function. */ export interface RunOptions { /** * Preferred port number. * * Falls back to a random port number if necessary. */ readonly port?: string; /** * Whether to open the Wing Console in the browser automatically. * * @default true */ readonly open?: boolean; /** * Target platform * @default wingCompiler.BuiltinPlatform.SIM */ readonly platform?: string[]; /** * Additional paths to watch or ignore for changes. Supports globs. */ readonly watch?: string[]; /** * Directory for the resource's state. */ readonly statedir?: string; } /** * Runs a Wing program in the Console. * @param entrypoint The program .w entrypoint. Looks for a .w file in the current directory if not specified. * @param options Run options. */ export declare function run(entrypoint?: string, options?: RunOptions): Promise;