import { Attachment } from '../structs/slack'; export declare const useButton: (attachment: Attachment<"text">) => (name: string, text: string, value: string | number) => { updateName: (cb: (name: string) => string) => void; updateText: (cb: (text: string) => string) => void; updateValue: (cb: (value: string | number) => string | number) => void; setURL: (value: string) => void; setStyle: (value: import("..").ButtonStyle) => void; useConfirm: (text: string) => { updateText: (cb: (text: string) => string) => void; setTitle: (value: string) => void; setOkText: (value: string) => void; setDismissText: (value: string) => void; }; };