import { Editor } from '@tiptap/react';
import { Reminder } from '../extensions/reminder-block/types';

interface UseReminderProps {
    editor: Editor;
    onReminderCreate?: (reminder: Reminder, type: string) => Promise<void>;
    onError?: (errorString: string) => void;
}
export declare const useReminder: ({ editor, onReminderCreate, onError, }: UseReminderProps) => {
    reminderRef: import('react').RefObject<HTMLDivElement>;
    handleReminderOnClose: () => void;
    handleReminderCreate: (reminder: Reminder, type: string) => Promise<void>;
    initialReminderTitle: string;
    setInitialReminderTitle: import('react').Dispatch<import('react').SetStateAction<string>>;
};
export {};
