import { AgentRef } from '../../services/aiApi'; export interface InsertIntoChatRailProps { /** Agent whose workspace prompts are listed (same ref the AI tabs thread through). */ agent: AgentRef; /** * Receives the *rendered* prompt text. The rail deliberately does not own a * chat surface — the host wires this to whatever composer is on screen. */ onInsert: (text: string) => void; /** Max prompts to list. Mirrors the aiApi pagination default. */ limit?: number; className?: string; } /** * InsertIntoChatRail — the "Insert into chat" right rail from mockup 60. * * Lists workspace AI prompts with their real `usageCount`, lets the caller fill * the prompt's declared variables, renders the prompt server-side via * `renderAIPrompt`, and hands the rendered text to `onInsert`. * * Every value shown is backed by a real field on the `AiPrompt` type * (`name`, `category`, `usageCount`, `variables`) — nothing here is decorative. */ export declare function InsertIntoChatRail({ agent, onInsert, limit, className, }: InsertIntoChatRailProps): React.ReactElement;