import type { ReactNode } from 'react'; import type { Editor as TiptapEditor } from '@tiptap/core'; import type { AIAction } from '@pega/cosmos-react-core'; export interface AIRewriteButtonProps { editor: TiptapEditor; onRewriteClick: (originalText: string, rewriteAction: AIAction, additionalInstructions: string, onSuccess: (rewrittenText: string) => void) => void; renderSuggestionEditor?: (props: { defaultValue?: string; disabled: boolean; readOnly: boolean; onGetContent: (getContent: () => string) => void; onContentChange: (hasContent: boolean) => void; }) => ReactNode; } declare const AIRewriteButton: ({ editor, onRewriteClick, renderSuggestionEditor }: AIRewriteButtonProps) => import("react/jsx-runtime").JSX.Element; export default AIRewriteButton; //# sourceMappingURL=AIRewriteButton.d.ts.map