/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { NodeFactoryFromDefinition } from "@breadboard-ai/build"; import promptTemplate from "./nodes/prompt-template.js"; import urlTemplate from "./nodes/url-template.js"; export { prompt, promptPlaceholder } from "./nodes/prompt-template-tag.js"; export { default as promptTemplate } from "./nodes/prompt-template.js"; export { default as urlTemplate } from "./nodes/url-template.js"; export declare const TemplateKit: import("@google-labs/breadboard").KitConstructor; urlTemplate: import("@breadboard-ai/build").Definition<{ template: string; }, { url: string; }, string | number, undefined, never, false, false, "url", { template: { board: false; }; }>; }>>; export type TemplateKit = InstanceType; export default TemplateKit; export type TemplateKitType = { promptTemplate: NodeFactoryFromDefinition; urlTemplate: NodeFactoryFromDefinition; }; /** * The Template Kit. Use members of this object to create nodes for templating. * * There are currently two members: `promptTemplate` and `urlTemplate`. * * The `promptTemplate` creates nodes for simple handlebar-style templates and * the `urlTemplate` creates nodes for safely constructing URLs. */ export declare const templates: TemplateKitType; //# sourceMappingURL=index.d.ts.map