export type WarnOnceLogger = (message: string) => void;
/**
 * Emit `message` via `logger` (default: console.warn) exactly once per
 * process. Subsequent calls with the same string are no-ops.
 *
 * Test-only helper `_resetWarnOnce()` below clears the dedup set so unit
 * tests can observe the one-shot behaviour in isolation.
 */
export declare function warnOnce(message: string, logger?: WarnOnceLogger): void;
/** Test-only — clears the warn-once dedup set between tests. */
export declare function _resetWarnOnce(): void;
/**
 * Resolve the Ollama base URL using the documented precedence rules.
 *
 * @param env - usually `process.env`; injected so tests can supply fixtures.
 * @param logger - optional logger for the deprecation warn-once.
 */
export declare function resolveOllamaBaseUrl(env?: NodeJS.ProcessEnv, logger?: WarnOnceLogger): string;
