/** * Safely parses a number from an environment variable. * Returns the parsed number if valid, otherwise returns the fallback value. * * @param key - The name of the environment variable * @param fallback - The default number to use if the env var is not set or is not a valid number * @returns A valid number from the environment variable or the fallback * * @example * ```typescript * // Read PORT from environment, default to 3000 * const port = getSafeNumberFromEnv("PORT", 3000); * * // Read MAX_CONNECTIONS from environment, default to 100 * const maxConnections = getSafeNumberFromEnv("MAX_CONNECTIONS", 100); * ``` * * @public */ export declare function getSafeNumberFromEnv(key: string, fallback: number): number; //# sourceMappingURL=parse-safe-env-number.d.ts.map