import { default as React } from 'react'; interface LiveFeedbackProps { /** The current state of the feedback. Controls which icon and label are shown. */ state?: "pending" | "success" | "failed"; /** The content to wrap with live feedback, typically a button or form element */ children: React.ReactNode; /** Optional className to apply to the wrapper div */ className?: string; /** Optional labels to show next to the icons for each state */ label?: { /** Text to show during the pending state */ pending: string; /** Text to show when operation succeeds */ success: string; /** Text to show when operation fails */ failed: string; }; } declare function LiveFeedback({ state, children, className, label }: LiveFeedbackProps): import("react/jsx-runtime").JSX.Element; export { LiveFeedback }; export type { LiveFeedbackProps };