UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

15 lines 637 B
//#region packages/terminal-core/src/prompt-select-styled-params.d.ts /** Minimal select-like params accepted by the prompt styler. */ type SelectParamsLike = { message: string; options: readonly object[]; }; /** Styling callbacks for prompt messages and hints. */ type PromptSelectStylers = { message: (value: string) => string; hint: (value: string) => string | undefined; }; /** Return select params with styled prompt message and per-option hints. */ declare function styleSelectParams<TParams extends SelectParamsLike>(params: TParams, stylers?: PromptSelectStylers): TParams; //#endregion export { styleSelectParams as t };