UNPKG

mongoose-management

Version:
10 lines (9 loc) 455 B
import Prompts from '../../prompts'; import IndexDataset from '../dataset/index'; export declare type answersType = { unique: boolean; sparse: boolean; }; export declare const call: (prompts: Prompts, index?: IndexDataset | undefined) => Promise<answersType>; export declare const getQuestions: (index?: IndexDataset | undefined) => readonly any[]; export declare const evaluation: (answers: answersType) => (index: IndexDataset) => IndexDataset;