/** * Options for `getExpressionsPartialPrompt`. * * @example * const options: ExpressionsPromptOptions = { maxLength: 500 }; */ export type ExpressionsPromptOptions = { /** The evaluator's `maxSourceLength`: the longest expression, in characters. Default 1000. */ maxLength?: number; /** Your text, appended verbatim as a trailing `## Note`. */ note?: string; }; /** * The `# JavaScript Expressions` block: the language's rules, its globals and a few idioms. The globals and the * default length come from `@uicast/expr` itself. * * @example * getExpressionsPartialPrompt(); * * @example * getExpressionsPartialPrompt({ maxLength: 500 }); // with new Evaluator({ maxSourceLength: 500 }) */ export declare function getExpressionsPartialPrompt({ maxLength, note, }?: ExpressionsPromptOptions): string;