import { SlackBlockDto, SlackDto } from '../internal/dto'; import type { BlockBuilder, Appendable } from '../internal/types'; import type { AttachmentBuilder, OptionBuilder, OptionGroupBuilder } from '../bits'; /** * @description Creates and returns an array of built blocks. Behaves in the same way as all appending methods, such as Surface.blocks(). */ export declare function BlockCollection(...blocks: Appendable): Readonly[]; /** * @description Creates and returns an array of built attachments. Behaves in the same way as all appending methods, such as Message.attachments(). */ export declare function AttachmentCollection(...attachments: Appendable): Readonly[]; export declare function OptionCollection(...options: Appendable): Readonly[]; export declare function OptionGroupCollection(...optionGroups: Appendable): Readonly[]; /** * @description Returns the block passed into the function as a built block, an object that conforms to the Slack API. */ export declare function buildBlock(block: BlockBuilder): Readonly; /** * @description Creates and returns an array of built blocks. Behaves in the same way as all appending methods, such as Surface.blocks(). */ export declare function buildBlocks(...blocks: Appendable): Readonly[]; declare const utilities: { AttachmentCollection: typeof AttachmentCollection; BlockCollection: typeof BlockCollection; OptionCollection: typeof OptionCollection; OptionGroupCollection: typeof OptionGroupCollection; buildBlock: typeof buildBlock; buildBlocks: typeof buildBlocks; }; export { utilities as Utilities };