import { ConfirmationDialog } from '@slack/types';
import { JSXSlack } from '../../jsx';
export interface ConfirmProps {
children: JSXSlack.ChildElements;
/**
* A text content of the button to confirm.
*
* Slack would use the default localized label if not defined.
*/
confirm?: string;
/**
* A text content of the button to cancel.
*
* Slack would use the default localized label if not defined.
*/
deny?: string;
/**
* Select the color scheme of the confirm button from `primary` and `danger`.
*
* - `primary`: Green button on desktop, and blue text on mobile.
* - `danger`: Red button on desktop, and red text on mobile.
*
* If not defined, Slack will render the button in `primary` color scheme.
*
* @remark
* It may inherit the style from assigned component when not defined specific
* value in the composition object. e.g. `
* ```
*/
confirm?: ConfirmationDialog | JSXSlack.Node;
}
/**
* Generate the composition object for confirmation dialog.
*
* Many interactive elements can provide a confirmation step by passing
* generated object in `` to `confirm` prop.
*
* You can use HTML-like formatting to the content of confirmation dialog.
* However, you have to be careful Slack ignores any line breaks. The content
* would render just in a line.
*
* @example
* ```jsx
*
* Are you sure? Please confirm your action again.
*
* }
* >
* Commit
*
* ```
*
* @return The JSON of the composition object for confirmation dialog
*/
export declare const Confirm: import("../../jsx-internals").BuiltInComponent;