import type { Profile, ProfileSummary, CreateOpts } from "./types.js"; export declare class ProfileManager { readonly piRoot: string; readonly profilesDir: string; readonly agentDir: string; constructor(piRoot?: string); private validateName; private profilePath; private defaultJsonPath; resolve(name: string): Profile; getDefault(): string | undefined; setDefault(name: string): void; clearDefault(): void; list(): ProfileSummary[]; create(name: string, opts?: CreateOpts): void; delete(name: string): void; /** * Symlink or copy auth.json and models.json from the stock agentDir. */ private linkOrCopyStockAuth; /** * Recursively copy a directory, preserving symlinks as symlinks. * Skips contents of `excludeDir` (but creates the dir itself). * Skips any files whose names appear in `excludeFiles`. */ private copyDirPreservingSymlinks; }