xref: /expo/packages/@expo/env/build/env.d.ts (revision 2f31cd71)
1/// <reference types="node" />
2type LoadOptions = {
3    silent?: boolean;
4    force?: boolean;
5};
6export declare function isEnabled(): boolean;
7export declare function createControlledEnvironment(): {
8    load: (projectRoot: string, options?: LoadOptions) => NodeJS.ProcessEnv;
9    get: (projectRoot: string, options?: LoadOptions) => {
10        env: Record<string, string | undefined>;
11        files: string[];
12    };
13    _getForce: (projectRoot: string, options?: LoadOptions) => {
14        env: Record<string, string | undefined>;
15        files: string[];
16    };
17};
18export declare function getFiles(mode: string | undefined, { silent }?: Pick<LoadOptions, 'silent'>): string[];
19export {};
20