import commander from 'commander'; import type { FileSystem } from '@atlaspack/fs'; import type { FeatureFlags } from '@atlaspack/feature-flags'; import type { InitialAtlaspackOptions, LogLevel } from '@atlaspack/types'; export interface Options { production?: boolean; autoinstall?: boolean; https?: boolean; cert?: string; key?: string; host: string; port?: string; hmr?: boolean; hmrPort?: string; hmrHost?: string; publicUrl?: string; detailedReport?: boolean | string; reporter: string[]; trace?: boolean; cache?: boolean; cacheDir?: string; projectRoot?: string; watchDir?: string; watchBackend?: 'watchman' | 'fs-events' | 'inotify' | 'brute-force' | 'windows'; watchIgnore?: string[]; config?: string; logLevel?: LogLevel; profile?: boolean; profileNative?: string | boolean; contentHash?: boolean; featureFlag?: Partial; optimize?: boolean; sourceMaps?: boolean; scopeHoist?: boolean; distDir?: string; lazy?: string; lazyExclude?: string; target: string[]; } export interface CommandExt extends commander.Command, Options { } export declare function normalizeOptions(command: CommandExt, inputFS: FileSystem): Promise;