import { Separator, type Theme } from '@inquirer/core'; import type { PartialDeep } from '@inquirer/type'; type SelectTheme = { icon: { cursor: string; }; style: { disabled: (text: string) => string; }; }; type Action = { value: ActionValue; name: string; key: string; }; type Choice = { value: Value; name?: string; description?: string; disabled?: boolean | string; type?: never; }; type ActionSelectResult = { action?: ActionValue; answer: Value; }; declare const _default: (config: { message: string; actions: readonly Action[]; choices: readonly (Separator | Choice)[]; pageSize?: number | undefined; loop?: boolean | undefined; default?: unknown; theme?: PartialDeep> | undefined; }, context?: import("@inquirer/type").Context) => Promise> & { cancel: () => void; }; export default _default; export { Separator };