import type { AiCapability, Candidates } from '@ai-services/ai/types';
import type { AiPlaygroundMessageAdditionalData } from '../../types';
type UserMessageRawData = Exclude<AiPlaygroundMessageAdditionalData['rawData'], Candidates | undefined>;
type UserMessageService = Exclude<AiPlaygroundMessageAdditionalData['service'], undefined>;
type JavaScriptCodeTextareaProps = {
    rawData: UserMessageRawData;
    service: UserMessageService;
    foundationalCapability: AiCapability;
};
/**
 * Renders a textarea with the JavaScript code for the selected message.
 *
 * @since 0.6.0
 *
 * @param props - The component props.
 * @returns The component to be rendered.
 */
export default function JavaScriptCodeTextarea(props: JavaScriptCodeTextareaProps): import("react").JSX.Element;
export {};
//# sourceMappingURL=javascript-code-textarea.d.ts.map