//#region src/generated/types.d.ts
interface HugoGlobalOptions {
  /** set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00 */
  clock?: string;
  /** config file (default hugo.yaml|json|toml) */
  config?: string;
  /** config dir (default "config") */
  configDir?: string;
  /** filesystem path to write files to */
  destination?: string;
  /** build environment */
  environment?: string;
  /** ignores any _vendor for module paths matching the given Glob pattern */
  ignoreVendorPaths?: string;
  /** log level */
  logLevel?: "debug" | "info" | "warn" | "error";
  /** don't create .hugo_build.lock file */
  noBuildLock?: boolean;
  /** filesystem path to write files to */
  output?: string;
  /** build in quiet mode */
  quiet?: boolean;
  /** render to memory (mostly useful when running the server) */
  renderToMemory?: boolean;
  /** filesystem path to read files relative from */
  source?: string;
  /** filesystem path to themes directory */
  themesDir?: string;
  /** enable less safe operations, please backup first */
  unsafe?: boolean;
}
interface HugoBuildOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** include content marked as draft */
  buildDrafts?: boolean;
  /** include expired content */
  buildExpired?: boolean;
  /** include content with publishdate in the future */
  buildFuture?: boolean;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** remove files from destination not found in static directories */
  cleanDestinationDir?: boolean;
  /** filesystem path to content directory */
  contentDir?: string;
  /** disable different kind of pages (home, RSS etc.) */
  disableKinds?: string[];
  /** add Git revision, date, author, and CODEOWNERS info to the pages */
  enableGitInfo?: boolean;
  /** copy all files when static is changed. */
  forceSyncStatic?: boolean;
  /** enable to run some cleanup tasks (remove unused cache files) after the build */
  gc?: boolean;
  /** ignore the configured file caches */
  ignoreCache?: boolean;
  /** filesystem path to layout directory */
  layoutDir?: string;
  /** minify any supported output format (HTML, XML etc.) */
  minify?: boolean;
  /** don't sync permission mode of files */
  noChmod?: boolean;
  /** don't sync modification time of files */
  noTimes?: boolean;
  /** panic on first WARNING log */
  panicOnWarning?: boolean;
  /** set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes */
  poll?: string;
  /** print missing translations */
  printI18nWarnings?: boolean;
  /** print memory usage to screen at intervals */
  printMemoryUsage?: boolean;
  /** print warnings on duplicate target paths etc. */
  printPathWarnings?: boolean;
  /** print warnings on unused templates. */
  printUnusedTemplates?: boolean;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** display metrics about template executions */
  templateMetrics?: boolean;
  /** calculate some improvement hints when combined with --templateMetrics */
  templateMetricsHints?: boolean;
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
  /** write trace to file (not useful in general) */
  trace?: string;
  /** watch filesystem for changes and recreate as needed */
  watch?: boolean;
}
interface HugoCompletionOptions extends HugoGlobalOptions {}
interface HugoCompletionBashOptions extends HugoGlobalOptions {
  /** disable completion descriptions */
  noDescriptions?: boolean;
}
interface HugoCompletionFishOptions extends HugoGlobalOptions {
  /** disable completion descriptions */
  noDescriptions?: boolean;
}
interface HugoCompletionPowershellOptions extends HugoGlobalOptions {
  /** disable completion descriptions */
  noDescriptions?: boolean;
}
interface HugoCompletionZshOptions extends HugoGlobalOptions {
  /** disable completion descriptions */
  noDescriptions?: boolean;
}
interface HugoConfigOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** preferred file format (toml, yaml or json) (default "toml") */
  format?: string;
  /** the language to display config for. Defaults to the first language defined. */
  lang?: string;
  /** include config options with zero values (e.g. false, 0, "") in the output */
  printZero?: boolean;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoConfigMountsOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoConvertOptions extends HugoGlobalOptions {}
interface HugoConvertToJSONOptions extends HugoGlobalOptions {}
interface HugoConvertToTOMLOptions extends HugoGlobalOptions {}
interface HugoConvertToYAMLOptions extends HugoGlobalOptions {}
interface HugoEnvOptions extends HugoGlobalOptions {}
interface HugoGenOptions extends HugoGlobalOptions {}
interface HugoGenDocOptions extends HugoGlobalOptions {
  /** the directory to write the doc. (default "/tmp/hugodoc/") */
  dir?: string;
}
interface HugoGenManOptions extends HugoGlobalOptions {
  /** the directory to write the man pages. (default "man/") */
  dir?: string;
}
interface HugoHelpOptions extends HugoGlobalOptions {}
interface HugoImportOptions extends HugoGlobalOptions {}
interface HugoImportJekyllOptions extends HugoGlobalOptions {
  /** allow import into non-empty target directory */
  force?: boolean;
}
interface HugoListOptions extends HugoGlobalOptions {}
interface HugoListAllOptions extends HugoGlobalOptions {}
interface HugoListDraftsOptions extends HugoGlobalOptions {}
interface HugoListExpiredOptions extends HugoGlobalOptions {}
interface HugoListFutureOptions extends HugoGlobalOptions {}
interface HugoListPublishedOptions extends HugoGlobalOptions {}
interface HugoModOptions extends HugoGlobalOptions {}
interface HugoModCleanOptions extends HugoGlobalOptions {
  /** clean entire module cache */
  all?: boolean;
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** pattern matching module paths to clean (all if not set), e.g. "**hugo*" */
  pattern?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoModGetOptions extends HugoGlobalOptions {}
interface HugoModGraphOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** delete module cache for dependencies that fail verification */
  clean?: boolean;
  /** filesystem path to content directory */
  contentDir?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoModInitOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoModNpmOptions extends HugoGlobalOptions {}
interface HugoModNpmPackOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoModTidyOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoModVendorOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoModVerifyOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** delete module cache for dependencies that fail verification */
  clean?: boolean;
  /** filesystem path to content directory */
  contentDir?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoNewOptions extends HugoGlobalOptions {}
interface HugoNewContentOptions extends HugoGlobalOptions {
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** filesystem path to content directory */
  contentDir?: string;
  /** edit new content with this editor, if provided */
  editor?: string;
  /** overwrite file if it already exists */
  force?: boolean;
  /** content type to create */
  kind?: string;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
}
interface HugoNewProjectOptions extends HugoGlobalOptions {
  /** init inside non-empty directory */
  force?: boolean;
  /** preferred file format (toml, yaml or json) (default "toml") */
  format?: string;
}
interface HugoNewThemeOptions extends HugoGlobalOptions {
  /** preferred file format (toml, yaml or json) (default "toml") */
  format?: string;
}
interface HugoServerOptions extends HugoGlobalOptions {
  /** append port to baseURL (default true) */
  appendPort?: boolean;
  /** hostname (and path) to the root, e.g. https://spf13.com/ */
  baseURL?: string;
  /** interface to which the server will bind (default "127.0.0.1") */
  bind?: string;
  /** include content marked as draft */
  buildDrafts?: boolean;
  /** include expired content */
  buildExpired?: boolean;
  /** include content with publishdate in the future */
  buildFuture?: boolean;
  /** filesystem path to cache directory */
  cacheDir?: string;
  /** remove files from destination not found in static directories */
  cleanDestinationDir?: boolean;
  /** filesystem path to content directory */
  contentDir?: string;
  /** do not show build errors in the browser */
  disableBrowserError?: boolean;
  /** enables full re-renders on changes */
  disableFastRender?: boolean;
  /** disable different kind of pages (home, RSS etc.) */
  disableKinds?: string[];
  /** watch without enabling live browser reload on rebuild */
  disableLiveReload?: boolean;
  /** add Git revision, date, author, and CODEOWNERS info to the pages */
  enableGitInfo?: boolean;
  /** copy all files when static is changed. */
  forceSyncStatic?: boolean;
  /** enable to run some cleanup tasks (remove unused cache files) after the build */
  gc?: boolean;
  /** ignore the configured file caches */
  ignoreCache?: boolean;
  /** filesystem path to layout directory */
  layoutDir?: string;
  /** port for live reloading (i.e. 443 in HTTPS proxy situations) (default -1) */
  liveReloadPort?: number;
  /** minify any supported output format (HTML, XML etc.) */
  minify?: boolean;
  /** navigate to changed content file on live browser reload */
  navigateToChanged?: boolean;
  /** don't sync permission mode of files */
  noChmod?: boolean;
  /** disable browser caching of pages served by the embedded web server */
  noHTTPCache?: boolean;
  /** don't sync modification time of files */
  noTimes?: boolean;
  /** open the project in a browser after server startup */
  openBrowser?: boolean;
  /** panic on first WARNING log */
  panicOnWarning?: boolean;
  /** set this to a poll interval, e.g --poll 700ms, to use a poll based approach to watch for file system changes */
  poll?: string;
  /** port on which the server will listen (default 1313) */
  port?: number;
  /** enable the pprof server (port 8080) */
  pprof?: boolean;
  /** print missing translations */
  printI18nWarnings?: boolean;
  /** print memory usage to screen at intervals */
  printMemoryUsage?: boolean;
  /** print warnings on duplicate target paths etc. */
  printPathWarnings?: boolean;
  /** print warnings on unused templates. */
  printUnusedTemplates?: boolean;
  /** named segments to render (configured in the segments config) */
  renderSegments?: string[];
  /** serve static files from disk and dynamic files from memory */
  renderStaticToDisk?: boolean;
  /** display metrics about template executions */
  templateMetrics?: boolean;
  /** calculate some improvement hints when combined with --templateMetrics */
  templateMetricsHints?: boolean;
  /** themes to use (located in /themes/THEMENAME/) */
  theme?: string[];
  /** generate and use locally-trusted certificates. */
  tlsAuto?: boolean;
  /** path to TLS certificate file */
  tlsCertFile?: string;
  /** path to TLS key file */
  tlsKeyFile?: string;
  /** write trace to file (not useful in general) */
  trace?: string;
  /** watch filesystem for changes and recreate as needed (default true) */
  watch?: boolean;
}
interface HugoServerTrustOptions extends HugoGlobalOptions {
  /** Uninstall the local CA (but do not delete it). */
  uninstall?: boolean;
}
interface HugoVersionOptions extends HugoGlobalOptions {}
type HugoCommand = "build" | "completion" | "completion bash" | "completion fish" | "completion powershell" | "completion zsh" | "config" | "config mounts" | "convert" | "convert toJSON" | "convert toTOML" | "convert toYAML" | "env" | "gen" | "gen doc" | "gen man" | "help" | "import" | "import jekyll" | "list" | "list all" | "list drafts" | "list expired" | "list future" | "list published" | "mod" | "mod clean" | "mod get" | "mod graph" | "mod init" | "mod npm" | "mod npm pack" | "mod tidy" | "mod vendor" | "mod verify" | "new" | "new content" | "new project" | "new theme" | "server" | "server trust" | "version";
type HugoOptionsFor<C extends HugoCommand> = C extends "build" ? HugoBuildOptions : C extends "completion" ? HugoCompletionOptions : C extends "completion bash" ? HugoCompletionBashOptions : C extends "completion fish" ? HugoCompletionFishOptions : C extends "completion powershell" ? HugoCompletionPowershellOptions : C extends "completion zsh" ? HugoCompletionZshOptions : C extends "config" ? HugoConfigOptions : C extends "config mounts" ? HugoConfigMountsOptions : C extends "convert" ? HugoConvertOptions : C extends "convert toJSON" ? HugoConvertToJSONOptions : C extends "convert toTOML" ? HugoConvertToTOMLOptions : C extends "convert toYAML" ? HugoConvertToYAMLOptions : C extends "env" ? HugoEnvOptions : C extends "gen" ? HugoGenOptions : C extends "gen doc" ? HugoGenDocOptions : C extends "gen man" ? HugoGenManOptions : C extends "help" ? HugoHelpOptions : C extends "import" ? HugoImportOptions : C extends "import jekyll" ? HugoImportJekyllOptions : C extends "list" ? HugoListOptions : C extends "list all" ? HugoListAllOptions : C extends "list drafts" ? HugoListDraftsOptions : C extends "list expired" ? HugoListExpiredOptions : C extends "list future" ? HugoListFutureOptions : C extends "list published" ? HugoListPublishedOptions : C extends "mod" ? HugoModOptions : C extends "mod clean" ? HugoModCleanOptions : C extends "mod get" ? HugoModGetOptions : C extends "mod graph" ? HugoModGraphOptions : C extends "mod init" ? HugoModInitOptions : C extends "mod npm" ? HugoModNpmOptions : C extends "mod npm pack" ? HugoModNpmPackOptions : C extends "mod tidy" ? HugoModTidyOptions : C extends "mod vendor" ? HugoModVendorOptions : C extends "mod verify" ? HugoModVerifyOptions : C extends "new" ? HugoNewOptions : C extends "new content" ? HugoNewContentOptions : C extends "new project" ? HugoNewProjectOptions : C extends "new theme" ? HugoNewThemeOptions : C extends "server" ? HugoServerOptions : C extends "server trust" ? HugoServerTrustOptions : C extends "version" ? HugoVersionOptions : never;
//#endregion
export { HugoBuildOptions, HugoCommand, HugoCompletionBashOptions, HugoCompletionFishOptions, HugoCompletionOptions, HugoCompletionPowershellOptions, HugoCompletionZshOptions, HugoConfigMountsOptions, HugoConfigOptions, HugoConvertOptions, HugoConvertToJSONOptions, HugoConvertToTOMLOptions, HugoConvertToYAMLOptions, HugoEnvOptions, HugoGenDocOptions, HugoGenManOptions, HugoGenOptions, HugoGlobalOptions, HugoHelpOptions, HugoImportJekyllOptions, HugoImportOptions, HugoListAllOptions, HugoListDraftsOptions, HugoListExpiredOptions, HugoListFutureOptions, HugoListOptions, HugoListPublishedOptions, HugoModCleanOptions, HugoModGetOptions, HugoModGraphOptions, HugoModInitOptions, HugoModNpmOptions, HugoModNpmPackOptions, HugoModOptions, HugoModTidyOptions, HugoModVendorOptions, HugoModVerifyOptions, HugoNewContentOptions, HugoNewOptions, HugoNewProjectOptions, HugoNewThemeOptions, HugoOptionsFor, HugoServerOptions, HugoServerTrustOptions, HugoVersionOptions };