/** * Server identity and runtime configuration, loaded and validated from the * environment. Keep {@link SERVER_VERSION} in sync with `package.json`. */ export declare const SERVER_NAME = "myarchitectai-mcp"; export declare const SERVER_VERSION = "0.1.0"; export declare const DEFAULT_BASE_URL = "https://api.myarchitectai.com/v1"; export interface Config { /** API key sent as the `x-api-key` header. */ apiKey: string; /** API base URL, without a trailing slash. */ baseUrl: string; /** Per-request timeout in milliseconds. */ timeoutMs: number; /** Maximum number of retries for transient failures (0 disables retries). */ maxRetries: number; /** Directory for `save_image` downloads (relative paths resolve from cwd). */ downloadDir: string; /** Max bytes to embed inline in `preview_image` before falling back to a URL. */ maxPreviewBytes: number; /** Optional path to persist session generation history across restarts. */ stateFile: string | undefined; } /** * Build a {@link Config} from environment variables. * * @throws {ConfigError} if the API key is missing or an override is invalid. */ export declare function loadConfig(env?: NodeJS.ProcessEnv): Config; //# sourceMappingURL=config.d.ts.map