import { MrkdwnElement } from '@slack/types'; import { JSXSlack } from '../../jsx'; export declare const checkboxCheckedSymbol: unique symbol; export interface CheckboxOption { text: MrkdwnElement; description?: MrkdwnElement; value: string; readonly [checkboxCheckedSymbol]?: boolean; } export interface CheckboxProps { children: JSXSlack.ChildElements; /** * A boolean value to indicate an initially checked state of checkbox. * * `` component may reflect this state. */ checked?: boolean; /** * A string or JSX element for the description label of the checkbox. * * It accepts formatting through HTML-like elements as same as the content. * The description label can see with faded color just below the main label. */ description?: JSXSlack.ChildElements; /** A string value to send to Slack App when choose the checkbox. */ value: string; } /** * Define the checkbox for the group container provided by ``. * * You should set the label for the checkbox in its children. Both of the * content and `description` accept formatting through HTML-like elements * (but except external links by `` tag: Slack will ignore link format). * * ```jsx * * It's a description. * * } * > * Checkbox * * ``` * * ### Redirect into description * * `` accepts using `` element for ergonomic templating, to * redirect the content of `` into `description` when `description` prop * was not defined. * * ```jsx * * Checkbox * * It's a description * * * ``` * * @return The JSON of the composition object for option suited to checkbox */ export declare const Checkbox: import("../../jsx-internals").BuiltInComponent;