import { Attachment } from '../structs/slack'; export declare const useField: (attachment: Attachment<"text">) => (title: string, value: string) => { updateTitle: (cb: (title: string) => string) => void; updateValue: (cb: (value: string) => string) => void; setShort: (value: boolean) => void; };