/**
 * ResultDialog Component
 *
 * Displays command results in a dismissible dialog overlay.
 * Used for commands that need to show information that users may want to read/copy.
 *
 * @since v1.51.5
 */
import type React from 'react';
export interface ResultDialogProps {
    /** Dialog title */
    title: string;
    /** Content to display - can be string or array of lines */
    content: string | string[];
    /** Optional subtitle/description */
    subtitle?: string;
    /** Whether dialog is active */
    isActive?: boolean;
    /** Called when dialog should close */
    onClose: () => void;
    /** Optional color for title (defaults to primary) */
    titleColor?: string;
    /** Maximum width of content (defaults to 60) */
    maxWidth?: number;
    /** When true, any key except Ctrl+C exits the app instead of closing dialog */
    restartRequired?: boolean;
    /** Called to exit the app (required when restartRequired is true) */
    onExit?: () => void;
}
/**
 * A dismissible dialog for displaying command results.
 * Press any key except Ctrl+C to dismiss (allows copying).
 * When restartRequired is true, any key except Ctrl+C exits the app.
 */
export declare function ResultDialog({ title, content, subtitle, isActive, onClose, titleColor, maxWidth, restartRequired, onExit }: ResultDialogProps): React.ReactElement;
export default ResultDialog;
//# sourceMappingURL=ResultDialog.d.ts.map