import React, { ReactNode } from 'react';
type DialogOptions = {
    title?: string;
    message?: string;
    confirmLabel?: string;
    cancelLabel?: string;
    defaultComment?: string;
    required?: boolean;
};
type DialogResult = string | null;
type CommentDialogContextType = (options?: DialogOptions) => Promise<DialogResult>;
export declare const useCommentDialog: () => CommentDialogContextType;
export declare const CommentDialogProvider: ({ children }: {
    children: ReactNode;
}) => React.JSX.Element;
export {};
