import type { InitCommonOptions } from "../common/InitCommonOptions.js"; export type GitProtocol = "https" | "ssh"; export interface InitParameterObject extends InitCommonOptions { /** * 作業ディレクトリ。 * 省略された場合、 `process.cwd()` 。 */ cwd?: string; /** * 出力するテンプレートの種別。大文字小文字は区別されない。 * 省略された場合、`akashic-config` の設定値を利用。 */ type?: string; /** * コピー先に既にファイルが存在していてもコピーするかどうか */ forceCopy?: boolean; /** * ユーザー入力無しでプロジェクトの作成を行うかどうか */ skipAsk?: boolean; /** * git コマンドのパス。 */ gitBinPath?: string; /** * GitHub のホスト。 * 省略された場合 `github.com` 。 */ githubHost?: string; /** * GitHub からクローンする際のプロトコル。 * 省略された場合 `https` 。 */ githubProtocol?: GitProtocol; /** * GitHub Enterprise のホスト。 * 省略された場合 `null` 。 */ gheHost?: string | null; /** * GitHub Enterprise からクローンする際のプロトコル。 * 省略された場合 `https` 。 */ gheProtocol?: GitProtocol; } export type NormalizedInitParameterObject = Required; /** * 未代入のパラメータを補完する */ export declare function completeInitParameterObject(param: InitParameterObject): Promise;