import React from 'react';
import { type FormDataObject, type SchemaArray } from 'zod-schema-form';
import type { CustomPromptTemplate, TemplatePromptMessage, UpdateCustomPromptInput } from '../contexts/customPrompts/useCustomPrompts';
interface ArgumentFormValue extends FormDataObject {
    name: string;
    description?: string;
    required: boolean;
}
interface MessageFormValue extends FormDataObject {
    role: TemplatePromptMessage['role'];
    content: string;
}
export interface DraftState extends FormDataObject {
    name: string;
    title?: string;
    description?: string;
    groupLabel?: string;
    arguments: ArgumentFormValue[];
    messages: MessageFormValue[];
}
export declare const inlinePromptEditorSchema: SchemaArray;
export interface InlinePromptEditorProps {
    template: CustomPromptTemplate;
    onSubmit: (updates: UpdateCustomPromptInput) => void;
    onCancel?: () => void;
    isSubmitting?: boolean;
}
declare const InlinePromptEditor: React.FC<InlinePromptEditorProps>;
export default InlinePromptEditor;
//# sourceMappingURL=InlinePromptEditor.d.ts.map