/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { InputValues } from "@google-labs/breadboard"; export declare const stringify: (value: unknown) => string; export declare const substitute: (template: string, values: InputValues) => string; export declare const parametersFromTemplate: (template: string | undefined) => string[]; /** * Use this node to populate simple handlebar-style templates. A required * input is `template`, which is a string that contains the template prompt * template. The template can contain zero or more placeholders that will be * replaced with values from inputs. Specify placeholders as `{{inputName}}` * in the template. The placeholders in the template must match the inputs * wired into this node. The node will replace all placeholders with values * from the input property bag and pass the result along as the `prompt` * output property. */ declare const _default: import("@breadboard-ai/build").Definition<{ template: string; }, { prompt: string; }, import("@breadboard-ai/build").JsonSerializable, undefined, never, false, false, "prompt", { template: { board: false; }; }>; export default _default; //# sourceMappingURL=prompt-template.d.ts.map