//#region extensions/migrate-hermes/source.d.ts
export type HermesSource = {
  root: string;
  configPath?: string;
  envPath?: string;
  authPath?: string;
  globalAuthPath?: string;
  opencodeAuthPath?: string;
  soulPath?: string;
  agentsPath?: string;
  memoryPath?: string;
  userPath?: string;
  skillsDir?: string;
  archivePaths: HermesArchivePath[];
};
type HermesArchivePath = {
  id: string;
  path: string;
  relativePath: string;
};
export declare function discoverHermesSource(input?: string, options?: {
  env?: NodeJS.ProcessEnv;
  platform?: NodeJS.Platform;
}): Promise<HermesSource>;
export declare function hasHermesSource(source: HermesSource): boolean;
//#endregion