/**
 * OutroScreen — Summary after the agent run.
 *
 * Reads store.session.outroData to render success, error, or cancel view.
 * Keeps the process alive until the user presses a key to exit.
 *
 * Success: bold green heading, compact changes + events list, PickerMenu.
 * Error: red heading with error message and suggested fixes.
 * Cancel: clean warning-colored cancel message.
 */
import type { WizardStore } from '../store.js';
import { OutroKind } from '../session-constants.js';
/**
 * Map an outro kind to the process exit code emitted by the
 * screen-initiated dismissal path (the `setOutroData(...) → key →
 * wizardSuccessExit` flow used when the user cancels from
 * IntroScreen / SetupScreen / DataIngestionCheckScreen /
 * ActivationOptionsScreen).
 *
 * Why a pure helper: this mapping is easy to ship the wrong way (PR
 * #379 hardcoded `0` for the entire path, silently flipping every
 * user-cancelled run to "success" in CI), so we extract it to a
 * named function with a unit test guarding the invariant.
 *
 * - Cancel  → 130 (POSIX SIGINT convention; matches what
 *                  graceful-exit also emits on Ctrl+C).
 * - Error   → 10  (AGENT_FAILED — generic failure that didn't go
 *                  through wizardAbort, so we don't have a more
 *                  specific code).
 * - Success → 0   (unreachable in practice — success outros are
 *                  dismissed via the picker, not this any-key path —
 *                  but mapped for symmetry / defense in depth).
 */
export declare function exitCodeForOutroKind(kind: OutroKind | undefined): number;
interface OutroScreenProps {
    store: WizardStore;
}
export declare const OutroScreen: ({ store }: OutroScreenProps) => import("react/jsx-runtime").JSX.Element;
export {};
