import { TargetTextRange } from './target-text-range.data.model';
import { RewriterEventTypes } from '../../utils/enums';
export interface TextSelectedEvent {
    selectionId: string;
    text: string;
    targetTextRange: TargetTextRange;
}
export interface RewriterAskAiRequest {
    model: string;
    prompt: string;
    selectedText: string;
}
export interface RewriterReplaceTextRequest {
    text: string;
    event: TextSelectedEvent;
}
export interface RewriterAddCommentRequest {
    text: string;
    event: TextSelectedEvent;
}
export interface RewriterAskAiResponse {
    text: string;
    success: boolean;
    error?: string;
}
export interface RewriterReplaceTextResponse {
    success: boolean;
    originalText: string;
    replacedText: string;
    error?: string;
}
export interface RewriterAddCommentResponse {
    success: boolean;
    annotationId?: string;
    commentText?: string;
    error?: string;
}
export type RewriterEventTypesMap = {
    [RewriterEventTypes.TEXT_SELECTED]: TextSelectedEvent;
};
