/**
 * Default wait duration applied before retrying a prompt round after an error (10 minutes).
 *
 * @private internal constant of `ptbk coder` wait handling
 */
export declare const DEFAULT_WAIT_AFTER_ERROR_MS: number;
/**
 * Parses an optional Commander duration string and returns the resolved milliseconds.
 *
 * Returns `defaultMs` when the flag was not provided or was provided without a non-empty value.
 *
 * @private internal utility of `ptbk coder` wait handling
 */
export declare function parseOptionalWaitDuration(value: string | undefined, defaultMs: number): number;
/**
 * Parses an optional Commander period duration string and returns the resolved milliseconds.
 *
 * Returns `undefined` when the flag was not provided or was provided without a non-empty value,
 * which means the command runs only once instead of repeating itself.
 *
 * @throws {NotAllowed} When the duration is not a positive one, because a non-positive period
 *                      would repeat the command without ever pausing between two rounds
 *
 * @private internal utility of `ptbk coder` wait handling
 */
export declare function parseOptionalPeriodDuration(optionName: string, value: string | undefined): number | undefined;
