import { _ as ProfileDiagnostic, p as AgentProfile } from "./index-DATCA6lI.mjs"; //#region src/services/profiles/sync.d.ts /** * Loads profiles from the global and repository configs, repository last. * * Configured roots accumulate and inspect themselves or their direct-child * directories for persona files. Later discoveries replace earlier names, and * explicit entries replace discoveries. Legacy flat profile mappings remain * accepted as explicit entries. * * @deprecated Node-only sync shim; use loadProfilesAsync. Removed in M2. */ declare function loadProfiles(repoRoot: string, homeDirectory?: string): AgentProfile[]; /** * The profile catalog: every resolved profile, plus the name a launch starts on * when the caller names none. * * `defaultProfile` mirrors `defaultPreset` in presets.yaml and `defaultDomains` * in domains.yaml, so each selection axis declares its default in its own * catalog. A repository declaration replaces a personal one. The name is a * request that need not be a file profile, because a plugin may contribute it; * the launch resolves it against the merged catalog and warns when it is absent. * * @deprecated Node-only sync shim; use loadProfileCatalogAsync. Removed in M2. */ declare function loadProfileCatalog(repoRoot: string, homeDirectory?: string): { profiles: AgentProfile[]; defaultProfile?: string; diagnostics?: ProfileDiagnostic[]; }; /** * Resolves one selected profile and fails clearly when its name is unknown. * * @deprecated Node-only sync shim; use resolveProfileAsync. Removed in M2. */ declare function resolveProfile(repoRoot: string, name: string, homeDirectory?: string): AgentProfile; /** @deprecated Node-only sync shim; use listProfileNamesAsync. Removed in M2. */ declare function listProfileNames(repoRoot: string, homeDirectory?: string): string[]; /** * Builds the persona system-prompt block, or undefined when nothing is readable. * * @deprecated Node-only sync shim; use buildPersonaPromptAsync. Removed in M2. */ declare function buildPersonaPrompt(personaRoot: string, personaDirectory: string): string | undefined; //#endregion export { resolveProfile as a, loadProfiles as i, listProfileNames as n, loadProfileCatalog as r, buildPersonaPrompt as t }; //# sourceMappingURL=sync-D2G0uTSX.d.mts.map