import type { MultiModelConfig } from '../types.js'; /** * Load the auth token for the HTTP server. * * Env var `MMA_AUTH_TOKEN` wins over any file (and bypasses file validation). * File contents must be exactly `\n` — no CRLF, no extra whitespace, and * the token body must match `[A-Za-z0-9_\-+=/.]+`. Strict validation up front * prevents hard-to-diagnose bearer-token mismatches later. * * A leading `~/` in `tokenFile` is expanded to `os.homedir()` so configs using * the common `~/.mma/auth-token` pattern work without the caller * having to resolve it first. */ export declare function loadAuthToken(opts: { tokenFile: string; }): string; /** * Load and parse a config file by path. * No auto-lookup — callers must provide the path. * Core has no knowledge of MULTI_MODEL_CONFIG env var or home-directory discovery. */ export declare function loadConfigFromFile(path: string): Promise; //# sourceMappingURL=load.d.ts.map