import * as react_jsx_runtime from 'react/jsx-runtime'; import { ToolUIPart } from 'ai'; import { ComponentProps, ReactNode } from 'react'; import { Alert } from '../ui/alert.js'; import { Button } from '../ui/button.js'; import 'class-variance-authority/types'; import 'class-variance-authority'; import '@base-ui/react/button'; type ToolUIPartApproval = { id: string; approved?: never; reason?: never; } | { id: string; approved: boolean; reason?: string; } | undefined; type ConfirmationProps = ComponentProps & { approval?: ToolUIPartApproval; state: ToolUIPart["state"]; }; declare const Confirmation: ({ className, approval, state, ...props }: ConfirmationProps) => react_jsx_runtime.JSX.Element | null; type ConfirmationTitleProps = ComponentProps<"div">; declare const ConfirmationTitle: ({ className, ...props }: ConfirmationTitleProps) => react_jsx_runtime.JSX.Element; type ConfirmationDescriptionProps = ComponentProps<"p">; declare const ConfirmationDescription: ({ className, ...props }: ConfirmationDescriptionProps) => react_jsx_runtime.JSX.Element; interface ConfirmationRequestProps { children?: ReactNode; } declare const ConfirmationRequest: ({ children }: ConfirmationRequestProps) => ReactNode; interface ConfirmationAcceptedProps { children?: ReactNode; } declare const ConfirmationAccepted: ({ children, }: ConfirmationAcceptedProps) => ReactNode; interface ConfirmationRejectedProps { children?: ReactNode; } declare const ConfirmationRejected: ({ children, }: ConfirmationRejectedProps) => ReactNode; type ConfirmationActionsProps = ComponentProps<"div">; declare const ConfirmationActions: ({ className, ...props }: ConfirmationActionsProps) => react_jsx_runtime.JSX.Element | null; type ConfirmationActionProps = ComponentProps; declare const ConfirmationAction: ({ className, ...props }: ConfirmationActionProps) => react_jsx_runtime.JSX.Element; export { Confirmation, ConfirmationAccepted, type ConfirmationAcceptedProps, ConfirmationAction, type ConfirmationActionProps, ConfirmationActions, type ConfirmationActionsProps, ConfirmationDescription, type ConfirmationDescriptionProps, type ConfirmationProps, ConfirmationRejected, type ConfirmationRejectedProps, ConfirmationRequest, type ConfirmationRequestProps, ConfirmationTitle, type ConfirmationTitleProps };