interface ViteEnv {
  readonly VITE_API_BASE_URL?: string;
}

const config = {
  api: {
    baseURL: (import.meta as unknown as { env: ViteEnv }).env?.VITE_API_BASE_URL || 'http://localhost:3000/api',
    timeout: 60000,
  },
} as const;

export default config;