import type { RegistryCatalogItem } from "#cli/commands/registry.js";
import type { RegistrySessionResult } from "#setup/flows/registry-session.js";
/** Builds the shared transient progress update for `/add` and initial onboarding. */
export declare function registryItemProgress(renderer: {
    replaceContent?(content?: {
        headline: string;
        facts: readonly {
            label: string;
            value: string;
        }[];
    }): void;
    setNavigation?(navigation: undefined): void;
    setStatus(status: string | undefined): void;
}): (item: RegistryCatalogItem, index: number, total: number) => void;
export declare function registryResultTone(result: RegistrySessionResult): "success" | "error" | undefined;
/** Formats structured registry setup results after their temporary panel closes. */
export declare function formatRegistrySessionResult(result: RegistrySessionResult): string;
