import type { FeedbackSubmission, SourceFormat } from "../types/editor";
import "./dialog.css";
import "./FeedbackLink.css";
interface FeedbackLinkProps {
    /** Link text shown where the trigger is rendered. */
    label?: string;
    /** Context string to help the host identify where feedback was submitted. */
    context: string;
    /** Called when the user submits feedback. */
    onSubmit: (submission: FeedbackSubmission) => void | Promise<void>;
    /** Optional project URL to include in the payload. */
    projectUrl?: string;
    /** Source content to include when the checkbox is enabled. */
    currentSource?: string;
    /** Source format metadata for the feedback payload. */
    sourceFormat?: SourceFormat;
    /** Optional document title metadata for the feedback payload. */
    title?: string;
    /** Optional class for the trigger button. */
    className?: string;
}
declare const FeedbackLink: ({ label, context, onSubmit, projectUrl, currentSource, sourceFormat, title, className, }: FeedbackLinkProps) => import("react/jsx-runtime").JSX.Element;
export default FeedbackLink;
