/** * Environment Variable Handler * Manages APIClaw environment variables for configuration */ export interface ApiclawEnvConfig { workspace?: string; apiUrl?: string; disableTelemetry?: boolean; } export declare const ENV_VARS: { readonly WORKSPACE: "APICLAW_WORKSPACE"; readonly API_URL: "APICLAW_API_URL"; readonly DISABLE_TELEMETRY: "APICLAW_DISABLE_TELEMETRY"; }; export declare const DEFAULT_API_URL = "https://apiclaw.cloud"; /** * Read APIClaw config from environment variables */ export declare function readEnvConfig(): ApiclawEnvConfig; /** * Get API URL with fallback to default */ export declare function getApiUrl(): string; /** * Check if telemetry is disabled */ export declare function isTelemetryDisabled(): boolean; /** * Get pre-configured workspace ID */ export declare function getWorkspaceFromEnv(): string | undefined; /** * Generate env block for MCP server config */ export declare function generateEnvBlock(config: ApiclawEnvConfig): Record; /** * Format env config for display */ export declare function formatEnvConfig(config: ApiclawEnvConfig): string[]; /** * Validate workspace ID format */ export declare function isValidWorkspaceId(id: string): boolean; /** * Validate API URL format */ export declare function isValidApiUrl(url: string): boolean; /** * Generate shell export statements */ export declare function generateShellExports(config: ApiclawEnvConfig): string; /** * Generate PowerShell $env statements */ export declare function generatePowerShellEnv(config: ApiclawEnvConfig): string; //# sourceMappingURL=env.d.ts.map