import * as React from "react"; import { Button } from "@/components/ui/button"; import { useToast, type CreateToastInput, type ToastShortcutInput } from "@/components/notifications/toast"; export type ActionToastOptions = Omit & { actionLabel?: React.ReactNode; onAction?: () => void; undoLabel?: React.ReactNode; onUndo?: () => void; }; export type ActionToastButtonProps = React.ComponentProps & { toast: ActionToastOptions; }; declare function ActionToastButton({ toast, children, onClick, ...props }: ActionToastButtonProps): React.JSX.Element; declare function showActionToast(toaster: ReturnType, { actionLabel, onAction, undoLabel, onUndo, ...toast }: ActionToastOptions): string; declare function useActionToast(): (toast: ActionToastOptions | ToastShortcutInput) => string; export { ActionToastButton, showActionToast, useActionToast };