import React from 'react'; import { type ComposableProps } from '../../../lib/slot'; export interface PopconfirmActionsProps extends ComposableProps<'div'> { /** * OK button text * @default 'Yes' */ okText?: string; /** * Cancel button text * @default 'No' */ cancelText?: string; /** * OK button type * @default 'primary' */ okType?: 'primary' | 'danger' | 'default'; /** * Custom actions content (when using asChild) */ children?: React.ReactNode; } /** * PopconfirmActions Component * * A composable component for action buttons in a Popconfirm. * Typically used within PopconfirmContent. * * @public * * @example * ```tsx * * Are you sure? * * * ``` * * @remarks * - Wraps the HTML `
` element by default. * - Supports `asChild` prop to merge props with a custom child element. * - Automatically handles confirm and cancel actions. */ export declare const PopconfirmActions: React.ForwardRefExoticComponent>; //# sourceMappingURL=PopconfirmActions.d.ts.map