UNPKG

newo

Version:

NEWO CLI: Professional command-line tool with modular architecture for NEWO AI Agent development. Features account migration, integration management, webhook automation, AKB knowledge base, project attributes, sandbox testing, IDN-based file management, r

33 lines 1.13 kB
/** * Validated environment configuration */ export interface ValidatedEnv { readonly NEWO_BASE_URL: string; readonly NEWO_PROJECT_ID: string | undefined; readonly NEWO_API_KEY: string | undefined; readonly NEWO_API_KEYS: string | undefined; readonly NEWO_ACCESS_TOKEN: string | undefined; readonly NEWO_REFRESH_TOKEN: string | undefined; readonly NEWO_REFRESH_URL: string | undefined; readonly NEWO_DEFAULT_CUSTOMER: string | undefined; readonly [key: string]: string | undefined; } /** * Environment validation errors with clear messaging */ export declare class EnvValidationError extends Error { constructor(message: string); } /** * Validates required environment variables and returns typed configuration */ export declare function validateEnvironment(): ValidatedEnv; /** * Global validated environment - call validateEnvironment() once at startup */ export declare let ENV: ValidatedEnv; /** * Initialize environment validation - must be called at application startup */ export declare function initializeEnvironment(): ValidatedEnv; //# sourceMappingURL=env.d.ts.map