import type * as React from 'react'; import type { ToastActionProps } from './types.js'; /** * Actionable button in a `Toast` that closes it after `onClick` runs. `altText` sets `aria-label` so users who dismiss before reaching it still know the action. * * @example * ```tsx * Undo * ``` */ export declare const ToastAction: { ({ altText, ref: forwardedRef, ...props }: ToastActionProps): React.ReactNode; displayName: string; };