import { Separator, type Theme } from '@inquirer/core'; import type { PartialDeep } from '@inquirer/type'; type Key = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'; type Choice = { key: Key; value: Value; } | { key: Key; name: string; value: Value; }; declare const _default: (config: { message: string; choices: readonly { key: Key; name: string; }[] | readonly (Separator | Choice)[]; default?: (Key | "h") | undefined; expanded?: boolean | undefined; theme?: PartialDeep | undefined; }, context?: import("@inquirer/type").Context) => Promise & { cancel: () => void; }; export default _default; export { Separator } from '@inquirer/core';