/** * First-run generation of the global runtime.yaml (issue #1136). * * On first run the global `~/.takt/runtime.yaml` is generated. A fresh environment gets an * *active* file built from the selected provider/model (`profiles.default` + `defaults.profile`); * an existing legacy environment gets only an *inactive* `version: 1` file so behavior does not * switch. An existing file is never overwritten, only schema-validated content is written, and * the write is atomic (temp file + rename). */ import type { ProviderType } from '../../../shared/types/provider.js'; export interface RuntimeProviderSelection { provider: ProviderType; model: string; } export interface GenerateGlobalRuntimeProviderFileInput { runtimeFilePath: string; selection: RuntimeProviderSelection | undefined; hasLegacyProviderConfig: boolean; } export declare function generateGlobalRuntimeProviderFile(input: GenerateGlobalRuntimeProviderFileInput): void; //# sourceMappingURL=initialization.d.ts.map