UNPKG

@phala/cloud

Version:
14 lines 674 B
import type { EnvVar } from "@phala/dstack-sdk/encrypt-env-vars"; /** * Parse dotenv format string into key-value object (preserves original parse behavior) * @param input - The dotenv format string to parse * @returns Object with parsed key-value pairs */ export declare function parseEnv(input: string | Buffer): Record<string, string>; /** * Parse dotenv format string into array of environment variables * @param input - The dotenv format string to parse * @returns Array of EnvVar objects with key and value properties (all values are strings) */ export declare function parseEnvVars(input: string | Buffer): EnvVar[]; //# sourceMappingURL=parse_dotenv.d.ts.map