@promptbook/legacy-documents
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
22 lines (21 loc) • 629 B
TypeScript
/**
* Props for rendering an interactive image prompt placeholder.
*
* @private internal component of `<ChatMessageItem/>`
*/
export type ImagePromptRendererProps = {
/**
* Alt text provided by the agent for the image.
*/
alt: string;
/**
* Prompt text that will be sent to the image generation API.
*/
prompt: string;
};
/**
* Renders a preview area for the `` notation.
*
* @private internal component of `<ChatMessageItem/>`
*/
export declare function ImagePromptRenderer({ alt, prompt }: ImagePromptRendererProps): import("react/jsx-runtime").JSX.Element;