import { Actions as ActionsBlock } from "./Actions"; import { Context as ContextBlock } from "./Context"; import { Divider as DividerBlock } from "./Divider"; import { File as FileBlock } from "./File"; import { Header as HeaderBlock } from "./Header"; import { Image as ImageBlock } from "./Image"; import { Input as InputBlock } from "./Input"; import { Section as SectionBlock } from "./Section"; export type Block = ActionsBlock | ContextBlock | DividerBlock | FileBlock | HeaderBlock | ImageBlock | InputBlock | SectionBlock; export declare namespace Block { type Actions = ActionsBlock; type Context = ContextBlock; type Divider = DividerBlock; type File = FileBlock; type Header = HeaderBlock; type Image = ImageBlock; type Input = InputBlock; type Section = SectionBlock; function format(header: string, text: string): Block[]; }