import 'dotenv/config';
import type { StringValue } from 'ms';
export type AppEnv = 'development' | 'test' | 'production';
export type JwtExpiresIn = number | StringValue;
export type AppConfig = {
    nodeEnv: AppEnv;
    databaseUrl: string;
    jwtSecret: string;
    jwtExpiresIn: JwtExpiresIn;
    port: number;
    host: string;
    frontendUrl: string;
    allowPublicRegistration: boolean;
    bcryptRounds: number;
};
export declare function parseJwtExpiresIn(value: string | undefined, fallback?: StringValue): JwtExpiresIn;
export declare function loadAppConfig(env?: NodeJS.ProcessEnv): AppConfig;
export declare const APP_CONFIG: unique symbol;
