/** * @license * Copyright 2024 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { BehaviorSchema, CanConnectAnalysis, InputValues, InspectableEdge, InspectableNode, InspectableNodePorts, InspectablePort, InspectablePortType, NodeConfiguration, NodeDescriberResult, NodeHandler, NodeTypeIdentifier, OutputValues, Schema } from "@breadboard-ai/types"; import { EdgeType } from "./schemas.js"; export { describerResultToPorts }; export declare const collectPorts: (type: EdgeType, edges: InspectableEdge[], schema: Schema, addErrorPort: boolean, allowRequired: boolean, values?: NodeConfiguration) => InspectablePort[]; export declare class PortType implements InspectablePortType { schema: Schema; constructor(schema: Schema); hasBehavior(behavior: BehaviorSchema): boolean; canConnect(to: InspectablePortType): boolean; analyzeCanConnect(to: InspectablePortType): CanConnectAnalysis; } declare function describerResultToPorts(node: InspectableNode, described: NodeDescriberResult, updating: boolean, inputValues?: InputValues, outputValues?: OutputValues): InspectableNodePorts; export declare const portsFromHandler: (type: NodeTypeIdentifier, handler: NodeHandler | undefined) => Promise; //# sourceMappingURL=ports.d.ts.map