UNPKG

@builder.io/dev-tools

Version:

Builder.io Visual CMS Devtools

28 lines (27 loc) 821 B
import type { EnvironmentVariable } from "$/ai-utils"; import type { DevToolsSys } from "../../types"; interface CategorizedEnvVar { key: string; value: string; category: string; isSecret: boolean; shouldPreselect: boolean; fromDotEnv?: boolean; } /** * Filter and categorize environment variables */ export declare function filterAndCategorizeEnvVars(dotEnvVars?: Record<string, string>): CategorizedEnvVar[]; /** * Present multiselect UI for environment variables */ export declare function selectEnvironmentVariables(sys: DevToolsSys, gitRoot: string): Promise<EnvironmentVariable[] | null>; /** * Format environment variables summary */ export declare function formatEnvSummary(envVars: EnvironmentVariable[]): { total: number; secrets: number; public: number; }; export {};