///
import prompts from 'prompts';
import { ElementProxy } from '../ElementProxy';
import { QuestionType } from "./QuestionType";
export declare abstract class AbsQuestion {
title: string;
required: boolean;
pattern: string;
abstract type: QuestionType;
var: string;
default: any;
format: (vl: any) => any;
opts: any;
get config(): {
initial: any;
message: string;
name: string;
} & Omit;
constructor(config: any);
prepare(proxy: ElementProxy): Promise;
exec(): Promise>;
sendKey(opts?: {
key: string;
name: string;
}, sin?: NodeJS.ReadStream & {
fd: 0;
}): void;
dispose(): void;
}