import { Stitch } from "../generated/src/stitch.js"; import { StitchToolClient } from "./client.js"; import { type ToolInfo } from "./tool-map.js"; /** Get or create the shared StitchToolClient instance. */ export declare function getOrCreateClient(config?: { apiKey?: string; }): StitchToolClient; /** * Default Stitch instance using environment variables. * Lazily initialized on first access. * * Exposes both domain methods (from Stitch class) and tool methods * (listTools, callTool, close from StitchToolClient). * * @example * import { stitch } from '@google/stitch-sdk'; * * // Domain API * const projects = await stitch.projects(); * * // Tool API * const tools = await stitch.listTools(); * await stitch.callTool("create_project", { title: "My App" }); */ export declare const stitch: Stitch & Pick & { toolMap: ReadonlyMap; }; //# sourceMappingURL=singleton.d.ts.map