import { type ReactNode } from "react"; export interface FeedbackButtonProps { /** * "sidebar" renders a full-width row with icon + label (for app left sidebars). * "icon" renders a small icon-only button (for dense toolbars, e.g. the agent panel header). * "outlined" renders an outlined pill button with icon + label (for top-nav bars, e.g. docs). */ variant?: "sidebar" | "icon" | "outlined"; label?: string; /** Defaults to VITE_AGENT_NATIVE_FEEDBACK_URL. Missing, blank, or null hides the control. */ url?: string | null; className?: string; /** Which side the popover opens on. Defaults match the variant. */ side?: "top" | "bottom" | "left" | "right"; align?: "start" | "center" | "end"; /** Placeholder text for the textarea. */ placeholder?: string; /** Optional text to prefill when the popover opens. */ initialValue?: string; /** Current chat session/thread id, when the host already knows it. */ chatSessionId?: string | null; /** Chat localStorage namespace, when the host uses per-app chat storage. */ chatStorageKey?: string | null; /** Controlled popover open state for hosts that trigger feedback from a menu. */ open?: boolean; onOpenChange?: (open: boolean) => void; /** Optional custom trigger element. */ trigger?: ReactNode; } export declare function resolveFeedbackUrl(url?: string | null): string | null; export declare function FeedbackButton(props: FeedbackButtonProps): import("react").JSX.Element | null; //# sourceMappingURL=FeedbackButton.d.ts.map