export function filterModelsByProviderModelAllow(
	models: unknown[],
	providerModelAllow: unknown,
	providerModelBlock: unknown,
): unknown[];
export function isProviderAllowedByLists(
	provider: string,
	allowedProviders: string[],
	blockedProviders: string[],
): boolean;
export function isProviderAllowedForAdvisor(
	providerKey: string,
	prefs: Record<string, unknown>,
): boolean;
export function resolveModelForUnit(unitType: string): string;
export function resolveModelWithFallbacksForUnit(
	unitType: string,
	options?: Record<string, unknown>,
): string;
export function resolveDefaultSessionModel(sessionProvider: string): string;
export function isCustomProvider(provider: string): boolean;
export function getNextFallbackModel(
	currentModelId: string,
	modelConfig: Record<string, unknown>,
): string | null;
export function validateModelId(modelId: string): boolean;
export function updatePreferencesModels(models: unknown[]): void;
export function updateSubscriptionTokensUsed(
	provider: string,
	tokensConsumed: number,
): void;
export function resolveDynamicRoutingConfig(): Record<string, unknown>;
export function resolvePersistModelChanges(): boolean;
export function resolveAutoSupervisorConfig(): Record<string, unknown>;
export function resolveProfileDefaults(
	profile: string,
): Record<string, unknown>;
export function resolveEffectiveProfile(): string;
export function resolveInlineLevel(): string;
export function resolveContextSelection(): string;
export function resolveSearchProviderFromPreferences(): string;
