import type { OnboardingState } from "../types.js"; import type { PluginApiLike, ResolvedConfig } from "./resolution.js"; type AuthStoreState = { apiKey?: string | null; userId?: string | null; } | null; type RefreshInput = { reason?: string; allowApiKeyChanges?: boolean; }; type RefreshDeps = { api: PluginApiLike; config: ResolvedConfig; loadAuthStore: () => AuthStoreState; resolveConfig: (api: PluginApiLike, input: { installationId: string; persistedApiKey: string | null; persistedUserId: string | null; }) => ResolvedConfig; updateOnboardingState: (updates: Partial) => unknown; setCredentials: (input: { apiKey: string; userId: string; baseUrl: string; }) => void; logInfo?: (message: string, meta?: Record) => void; }; export declare function refreshResolvedConfig(deps: RefreshDeps, input?: RefreshInput): { changed: boolean; baseApiUrl: string; }; export {};