/** * Options for the `new` command. * This is passed from Commander to the `init` function. */ export interface InitOptions { template?: string; language?: string; readonly listTemplates?: boolean; } /** * Compiles a Wing program. Throws an error if compilation fails. * @param entrypoint The program .w entrypoint. * @param options Compile options. * @returns the output directory */ export declare function init(template: string, options?: InitOptions): Promise;