/**
 * PromptList Component
 * Shows list of all prompts with Add/Delete actions
 * Main screen of /prompts command
 */
import React from 'react';
import type { Key } from '../../hooks/useInputOrchestrator.js';
import type { PromptInfo } from '@dexto/core';
import type { TuiAgentBackend } from '../../agent-backend.js';
export type PromptListAction = {
    type: 'select-prompt';
    prompt: PromptInfo;
} | {
    type: 'add-prompt';
} | {
    type: 'delete-prompt';
};
interface PromptListProps {
    isVisible: boolean;
    onAction: (action: PromptListAction) => void;
    onLoadIntoInput: (text: string) => void;
    onClose: () => void;
    agent: TuiAgentBackend;
}
export interface PromptListHandle {
    handleInput: (input: string, key: Key) => boolean;
    refresh: () => void;
}
/**
 * PromptList - shows all prompts with Add/Delete actions
 */
declare const PromptList: React.ForwardRefExoticComponent<PromptListProps & React.RefAttributes<PromptListHandle>>;
export default PromptList;
//# sourceMappingURL=PromptList.d.ts.map