UNPKG

@builder.io/dev-tools

Version:

Builder.io Visual CMS Devtools

25 lines (24 loc) 931 B
import type { DevToolsSys } from "../../types"; import type { CLIArgs } from "../index"; import { type Credentials } from "../credentials"; import type { Component } from "./types"; export declare const displayComponentLibrarySummary: (components: Component[], indexedComponents: Component[], startTime: number, numFailed?: number, isForce?: boolean, designSystemName?: string) => void; export interface RepoIndexingDoc { name: string; content: string | { name: string; description: string; components: string[]; relevantFiles: string[]; }[]; createdDate: string; description: string; id: string; ownerId: string; userId: string; } export declare const runRepoIndexing: (sys: DevToolsSys, args: CLIArgs) => Promise<void>; export declare const isFeatureAllowed: (credentials: Credentials, debug?: boolean) => Promise<{ isAllowed: boolean; reason?: string; }>;