import { JSXSlack } from '../../jsx'; import { LayoutBlockProps } from './utils'; export interface SectionProps extends LayoutBlockProps { children: JSXSlack.ChildElements; } interface FieldProps { children: JSXSlack.ChildElements; } export declare const availableSectionAccessoryTypes: ("input" | "button" | "overflow" | "image" | "checkboxes" | "datepicker" | "users_select" | "multi_users_select" | "static_select" | "multi_static_select" | "conversations_select" | "multi_conversations_select" | "channels_select" | "multi_channels_select" | "external_select" | "multi_external_select" | "radio_buttons" | "timepicker" | "workflow_button")[]; /** * Generate the field for `
` block element. * * By using 1 to 10 `` components in immediate child of `
`, you * can insert the additional two-column text(s) after the main message. * * Of course, you can format the text through HTML-like elements. * * ```jsx * *
* Informations about jsx-slack are here. * * GitHub: * * * yhatt/jsx-slack * * * npm: * * * jsx-slack * *
*
* ``` * * @return The JSON of text composition object suited to section's field */ export declare const Field: import("../../jsx-internals").BuiltInComponent; /** * [The `section` layout block](https://api.slack.com/reference/messaging/blocks#section) * to display text message, and optional fields / the accessory block element. * * You can style text contents through HTML-like formatting. For example, insert * a line break by `
`, style text as bold with ``, make paragraph * through `

`, and create hyperlink via ``. * * ```jsx * *

*

Hello, world!

*

* jsx-slack *
* Helps to create an amazing Slack app, with familiar HTML syntax! *

*
* * ``` * * **NOTE**: Basic characters for styling text, `*bold*`, `_italic_`, * `~strike~`, `` `code` ``, ` ```code block``` `, and `> quote` _still can * use_. Consider using `` to sanitize them if you want. * * ### Accessory * * A one of supported accessory component can show in side-by-side (or just * below) of the message by placing it in immediate child of `
`. * * ```jsx * *
* You can add an image of so cute kitten :cat: * Kitten *
*
* ``` * * You can pick one as an accessory from following: * * - `` (``) * - `