import { z } from 'zod/v4'; import { typegenConfigSingle } from './types.js'; type EnvNames = z.infer["envNames"]; export interface EnvValues { server: string | undefined; db: string | undefined; apiKey: string | undefined; clarisIdUsername: string | undefined; clarisIdPassword: string | undefined; username: string | undefined; password: string | undefined; fmMcpBaseUrl: string | undefined; fmMcpConnectedFileName: string | undefined; fmMcpPersistentToken: string | undefined; } type StandardAuth = { apiKey: string; } | { username: string; password: string; } | { clarisId: { username: string; password: string; }; }; export type EnvValidationResult = { success: true; mode: "standard"; server: string; db: string; auth: StandardAuth; } | { success: true; mode: "fmMcp"; baseUrl: string; connectedFileName: string; persistentToken?: string; } | { success: false; errorMessage: string; }; interface EnvValidationOptions { fmMcp?: boolean; allowClarisId?: boolean; fmMcpConfig?: { baseUrl?: string; connectedFileName?: string; persistentToken?: string; }; } export declare function getEnvValues(envNames?: EnvNames): EnvValues; export declare function validateEnvValues(envValues: EnvValues, envNames?: EnvNames, options?: EnvValidationOptions): EnvValidationResult; export declare function validateAndLogEnvValues(envValues: EnvValues, envNames?: EnvNames, options?: EnvValidationOptions): EnvValidationResult | undefined; export {};