export interface SelectOption { value: T; label: string; desc?: string; disabled?: boolean; } export interface SelectProps { key: string; value?: T; preset?: T; title: string; options: SelectOption[]; } export declare function select(props: SelectProps): Promise; export interface InputProps { key: string; value?: string; preset?: string; title: string; output?: (str: string) => string; validate?: (str: string) => boolean; } export declare function input({ key, value, preset, title, output, validate }: InputProps): Promise;