import type { ReadlinePrompt } from '../cli/cli-prompt.js'; import type { ParsedMigrationArgs, RenderLine } from './migration-types.js'; export type CommandRenderOptions = { prompt?: ReadlinePrompt; renderLine?: RenderLine; }; export type DiffLikeOptions = { fromMigrationVersion?: string; renderLine?: RenderLine; toMigrationVersion?: string; }; export type VerifyOptions = { all?: boolean; fromMigrationVersion?: string; renderLine?: RenderLine; }; export type FixturesOptions = { all?: boolean; confirmOverwrite?: ((message: string) => boolean) | undefined; force?: boolean; fromMigrationVersion?: string; isInteractive?: boolean; renderLine?: RenderLine; toMigrationVersion?: string; }; export type FuzzOptions = { all?: boolean; fromMigrationVersion?: string; iterations?: number; renderLine?: RenderLine; seed?: number; }; export type WizardOptions = CommandRenderOptions & { isInteractive?: boolean; }; /** * Returns the formatted help text for migration CLI commands and flags. * * @returns Multi-line usage text for the `wp-typia migrate` command surface. */ export declare function formatMigrationHelpText(): string; /** * Parses migration CLI arguments into a structured command payload. * * @param argv Command-line arguments that follow the `migrate` subcommand. * @returns Parsed migration command and normalized flags for runtime dispatch. * @throws Error When no arguments are provided, an unknown flag is encountered, or legacy semver flags are used. */ export declare function parseMigrationArgs(argv: string[]): ParsedMigrationArgs; /** * Parse an optional positive integer flag value. * * @param value Raw CLI flag value, or `undefined` when the flag was omitted. * @param label Human-readable flag label used in validation error messages. * @returns The parsed integer when provided, otherwise `undefined`. * @throws Error When the value is not a base-10 integer greater than zero. */ export declare function parsePositiveInteger(value: string | undefined, label: string): number | undefined; /** * Parse an optional non-negative integer flag value. * * @param value Raw CLI flag value, or `undefined` when the flag was omitted. * @param label Human-readable flag label used in validation error messages. * @returns The parsed integer when provided, otherwise `undefined`. * @throws Error When the value is not a base-10 integer greater than or equal to zero. */ export declare function parseNonNegativeInteger(value: string | undefined, label: string): number | undefined;