UNPKG

@builder.io/dev-tools

Version:

Builder.io Visual CMS Devtools

21 lines (20 loc) 1.37 kB
import type { DevToolsSys } from "../../core"; import { type Credentials } from "../credentials"; import type { GenerateUserMessage, WorkspaceConfiguration, StoreComponentDocsInput, UpdateDesignSystemInput } from "$/ai-utils"; import type { DesignSystem } from "./types"; export declare const AGENT_FILE = "AGENT.md"; export declare const parseDesignSystem: (sys: DevToolsSys, designSystemPackage?: string) => Promise<{ name: any; version: string | undefined; }>; export declare const storeComponentDocs: (credentials: Credentials, body: StoreComponentDocsInput, debug?: boolean) => Promise<any>; export declare const runCodeGen: (sys: DevToolsSys, credentials: Credentials, sessionId: string, message: GenerateUserMessage, debug?: boolean, designSystemPackage?: string, workspaceConfig?: WorkspaceConfiguration, opts?: { tags?: object; }, metadata?: any) => Promise<string>; export declare const getAllDesignSystems: (credentials: Credentials) => Promise<DesignSystem[]>; export declare const getDesignSystemByName: (credentials: Credentials, designSystemName: string) => Promise<DesignSystem | null>; export declare const addDesignSystem: (credentials: Credentials, body: { designSystemName: string; status: string; }) => Promise<any>; export declare const updateDesignSystem: (credentials: Credentials, body: UpdateDesignSystemInput) => Promise<any>;