import { Separator, type Theme } from '@inquirer/core'; import type { PartialDeep } from '@inquirer/type'; type SearchTheme = { icon: { cursor: string; }; style: { disabled: (text: string) => string; searchTerm: (text: string) => string; description: (text: string) => string; }; helpMode: 'always' | 'never' | 'auto'; }; type Choice = { value: Value; name?: string; description?: string; short?: string; disabled?: boolean | string; type?: never; }; declare const _default: (config: { message: string; source: (term: string | undefined, opt: { signal: AbortSignal; }) => readonly (string | Separator)[] | readonly (Separator | Choice)[] | Promise | Promise)[]>; validate?: ((value: Value) => boolean | string | Promise) | undefined; pageSize?: number | undefined; theme?: PartialDeep> | undefined; }, context?: import("@inquirer/type").Context) => Promise & { cancel: () => void; }; export default _default; export { Separator } from '@inquirer/core';