export interface Config { /** start.gg API token. Undefined when not configured — tools then fail with AUTH_ERROR. */ token: string | undefined; enableWrites: boolean; /** Max requests per 60-second sliding window. start.gg allows 80; default leaves headroom. */ rateLimitPerMinute: number; timeoutMs: number; cacheEnabled: boolean; } /** * Read configuration exclusively from the given env object (defaults to * process.env). The API endpoint is intentionally NOT configurable via * environment: the token must only ever be sent to api.start.gg. Library * consumers can still inject `apiUrl`/`fetchFn` on StartggClient directly. */ export declare function loadConfig(env?: NodeJS.ProcessEnv): Config;