/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { LitElement, PropertyValueMap } from "lit"; import { RecentBoard, STATUS, Settings } from "../../types/types.js"; import { HarnessRunResult } from "@google-labs/breadboard/harness"; import { EditHistory, GraphDescriptor, GraphLoader, GraphProvider, InspectableRun, InspectableRunEvent, InspectableRunInputs, Kit } from "@google-labs/breadboard"; /** * Breadboard UI controller element. * * @export * @class UI * @extends {LitElement} * * @property {GraphDescriptor | null} graph * @property {Kit[]} kits - an array of kits to use by a board * @property {string | null} url * @property {STATUS} * @property {Board[]} **/ export declare class UI extends LitElement { #private; graph: GraphDescriptor | null; subGraphId: string | null; kits: Kit[]; loader: GraphLoader | null; status: STATUS; run: InspectableRun | null; inputsFromLastRun: InspectableRunInputs | null; failedToLoad: boolean; boardId: number; showWelcomePanel: boolean; version: string; recentBoards: RecentBoard[]; settings: Settings | null; providers: GraphProvider[]; providerOps: number; selectedNodeIds: string[]; isPortrait: boolean; debugEvent: InspectableRunEvent | null; history: EditHistory | null; static styles: import("lit").CSSResult; connectedCallback(): void; disconnectedCallback(): void; clearPosition(): void; /** * Handle state changes. * * Handle different types of messages and perform corresponding * actions based on the message type. * * @param {HarnessRunResult} message - Contains information about the state change with type and data property * @param {number} duration - The duration of the state change. * * @returns {Promise | void>} */ handleStateChange(message: HarnessRunResult): Promise | void>; protected willUpdate(changedProperties: PropertyValueMap<{ boardId: number; subGraphId: string | null; }> | Map): void; render(): import("lit-html").TemplateResult<1>; } //# sourceMappingURL=ui-controller.d.ts.map