export type PromptInputs<T> = {
    /**
     * default value to offer to the user.  Will be used if the user does not respond within the timeout period.
     */
    defaultAnswer?: T;
    /** after this many ms, the prompt will time out.  If a default value is provided, the default will be used.  Otherwise the prompt will throw an error */
    ms?: number;
};
export declare const confirm: (message: string, { defaultAnswer, ms, }?: PromptInputs<boolean>) => Promise<boolean>;
