/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { TaskGraphTabularRepository } from "@workglow/task-graph"; import { TaskGraph } from "@workglow/task-graph"; export declare const CHAT_SAMPLE_ID = "chat"; /** * Builds the chat sample: a TaskGraph with a single AiChatTask whose `model` * input is pre-populated with the Bonsai 1.7B ONNX q1 ModelConfig (via * `task.defaults.model`). * * The user is prompted for `prompt` on every run (no default). `systemPrompt` * is unset and can be edited via `workflow run chat --interactive`. */ export declare function buildChatSampleGraph(): TaskGraph; /** Idempotent installer — never overwrites an existing workflow with the same id. */ export declare function ensureChatSample(repo: TaskGraphTabularRepository): Promise; /** * Startup-time seed guard: installs all bundled samples only if the workflow * repo is completely empty. Preserves user deletions of any sample. */ export declare function seedSamplesIfRepoEmpty(repo: TaskGraphTabularRepository): Promise;