/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { EmbedHandler } from "@breadboard-ai/embed"; import type { GlobalConfig } from "@breadboard-ai/shared-ui/contexts/global-config.js"; import type { SettingsStore } from "@breadboard-ai/shared-ui/data/settings-store.js"; import type { FileSystemEntry, HarnessProxyConfig, Kit, MutableGraphStore, NodeHandlerContext, Outcome } from "@breadboard-ai/types"; import type { ClientDeploymentConfiguration } from "@breadboard-ai/types/deployment-configuration.js"; export type BootstrapArguments = { deploymentConfiguration: ClientDeploymentConfiguration; connectionServerUrl?: URL; requiresSignin?: boolean; defaultBoardService?: string; kits?: Kit[]; /** * Allows preloading graphs into the graphstore. Useful when you want to * supply graphs that aren't part of any board server. * @param graphStore * @returns */ graphStorePreloader?: (graphStore: MutableGraphStore) => void; /** * Allows filtering what modules can be invoked by the runtime. * @param context * @returns */ moduleInvocationFilter?: (context: NodeHandlerContext) => Outcome; /** * Provides a way to specify additional entries as part of the `/env/` file * system. */ env?: FileSystemEntry[]; /** * Provides a way to handle embedded versions of Breadboard. */ embedHandler?: EmbedHandler; }; export type MainArguments = { settings: SettingsStore; proxy?: HarnessProxyConfig[]; languagePack?: string; /** * The URL of the board server with which this editor instance * is associated. */ boardServerUrl?: URL; /** If true enforces ToS acceptance by the user on the first visit. */ enableTos?: boolean; /** Terms of Service content. */ tosHtml?: string; kits?: Kit[]; graphStorePreloader?: (graphStore: MutableGraphStore) => void; moduleInvocationFilter?: (context: NodeHandlerContext) => Outcome; /** * Provides a way to specify additional entries as part of the `/env/` file * system. */ env?: FileSystemEntry[]; embedHandler?: EmbedHandler; globalConfig: GlobalConfig; }; export declare enum TosStatus { ACCEPTED = "accepted" } //# sourceMappingURL=types.d.ts.map