15 lines
456 B
TypeScript
15 lines
456 B
TypeScript
import * as z from "zod";
|
|
export interface Env {
|
|
MISTRAL_API_KEY?: string | undefined;
|
|
MISTRAL_DEBUG?: boolean | undefined;
|
|
}
|
|
export declare const envSchema: z.ZodType<Env, z.ZodTypeDef, unknown>;
|
|
/**
|
|
* Reads and validates environment variables.
|
|
*/
|
|
export declare function env(): Env;
|
|
/**
|
|
* Clears the cached env object. Useful for testing with a fresh environment.
|
|
*/
|
|
export declare function resetEnv(): void;
|
|
//# sourceMappingURL=env.d.ts.map
|