import type { Api, Model } from "@mariozechner/pi-ai";
import type { SKYKOIConfig } from "../../config/config.js";
import type { ModelDefinitionConfig } from "../../config/types.js";
import { type AuthStorage, type ModelRegistry } from "../pi-model-discovery.js";
type InlineModelEntry = ModelDefinitionConfig & {
    provider: string;
    baseUrl?: string;
};
type InlineProviderConfig = {
    baseUrl?: string;
    api?: ModelDefinitionConfig["api"];
    models?: ModelDefinitionConfig[];
};
export declare function buildInlineProviderModels(providers: Record<string, InlineProviderConfig>): InlineModelEntry[];
export declare function buildModelAliasLines(cfg?: SKYKOIConfig): string[];
export declare function resolveModel(provider: string, modelId: string, koiDir?: string, cfg?: SKYKOIConfig): {
    model?: Model<Api>;
    error?: string;
    authStorage: AuthStorage;
    modelRegistry: ModelRegistry;
};
export {};
