import { Dialog } from '../structs/slack'; export declare const useTextElement: (dialog: Dialog) => (label: string, name: string, value: string) => { updateLabel: (cb: (currentLabel: string) => string) => void; updateName: (cb: (currentName: string) => string) => void; updateValue: (cb: (currentValue: string) => string) => void; setOptional: (value: boolean) => void; setSubtype: (value: import("..").DialogElementSubtype) => void; setHint: (value: string) => void; setMinLength: (value: number) => void; setMaxLength: (value: number) => void; setPlaceholder: (value: string) => void; };