13 lines
392 B
TypeScript
13 lines
392 B
TypeScript
import type { AstroConfig } from '../types/public/index.js';
|
|
interface EnvLoaderOptions {
|
|
mode: string;
|
|
config: AstroConfig;
|
|
useStatic: boolean;
|
|
}
|
|
export declare const createEnvLoader: (options: EnvLoaderOptions) => {
|
|
get: () => Record<string, string>;
|
|
getPrivateEnv: () => Record<string, string>;
|
|
};
|
|
export type EnvLoader = ReturnType<typeof createEnvLoader>;
|
|
export {};
|