/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { FileDataPart, GraphDescriptor, InlineDataCapabilityPart, TextCapabilityPart } from "@breadboard-ai/types"; import { MutableGraphStore } from "@google-labs/breadboard"; export { ClipboardReader }; export type GraphDescriptorType = { graphDescriptor: GraphDescriptor; }; export type GraphUrlType = { graphUrl: string; }; export type UnknownType = { unknown: true; }; export type DetectedType = GraphDescriptorType | GraphUrlType | InlineDataCapabilityPart | TextCapabilityPart | FileDataPart | UnknownType; /** * Given a string, tries to detect the type it represents. */ declare class ClipboardReader { readonly graphUrl: string | undefined; readonly graphStore: MutableGraphStore; constructor(graphUrl: string | undefined, graphStore: MutableGraphStore); read(): Promise; unknown(): UnknownType; isGraphUrl(url: string): Promise; readText(): Promise; } //# sourceMappingURL=clipboard-reader.d.ts.map