ui-omakase-framework
Version:
A comprehensive E2E testing framework library with pre-built Cucumber step definitions and utilities for web automation testing
12 lines (11 loc) • 606 B
TypeScript
/**
* Enhanced environment parsing with default fallbacks for library usage
*/
export declare const getJsonFromFile: <T = Record<string, string>>(filePath: string) => T;
export declare const env: (key: string, defaultValue?: string) => string;
export declare const envNumber: (key: string, defaultValue?: number) => number;
export declare const envBoolean: (key: string, defaultValue?: boolean) => boolean;
/**
* Loads configuration with multiple fallback strategies
*/
export declare const loadConfigWithFallbacks: <T>(primaryPath: string, fallbackPaths?: string[], isRequired?: boolean) => T | null;