/**
 * List versions flow module
 *
 * Provides a simple flow for displaying available versions of a package.
 * This flow handles:
 * - Intro message
 * - Spinner while fetching versions
 * - Note display with version information
 * - Outro message
 */
import type { Packument } from "../../../api/registrar.js";
/**
 * Callbacks for the list versions flow
 */
export type ListVersionsFlowCallbacks = {
    onFetchPackument: () => Promise<Packument | null>;
};
/**
 * Result of the list versions flow
 */
export type ListVersionsFlowResult = {
    versions: Array<string>;
    latestVersion: string | null;
    statusMessage: string;
} | null;
/**
 * Execute the list versions flow
 *
 * This function handles the complete list versions UX:
 * 1. Shows spinner while fetching package info
 * 2. Displays version info in a note
 *
 * @param args - Flow configuration
 * @param args.profileDisplayName - Display name for the skillset
 * @param args.registryUrl - The registry URL
 * @param args.callbacks - Callback functions for fetching packument
 *
 * @returns Version info on success, null on failure
 */
export declare const listVersionsFlow: (args: {
    profileDisplayName: string;
    registryUrl: string;
    callbacks: ListVersionsFlowCallbacks;
}) => Promise<ListVersionsFlowResult>;
//# sourceMappingURL=listVersions.d.ts.map