import type { ProfileId } from '../profiles/index.js'; import type { SupportedTool } from '../types/index.js'; import { type ContextualSpecializationResolution } from './contextual-specialization.js'; export type ProfileExpandResult = { expanded: ProfileId[]; filesWritten: string[]; invalid: string[]; unsupportedTools: SupportedTool[]; specialization: ContextualSpecializationResolution; }; /** Splits role ids into those that map to a known profile (id or alias) and those that do not. */ export declare function partitionRoles(roleIds: string[]): { valid: string[]; invalid: string[]; }; /** Comma-separated, sorted list of every valid profile id — used in unknown-role diagnostics. */ export declare function validProfileIdList(): string; /** * Builds a prominent diagnostic for unknown roles, listing the offenders and the full valid set. * `allInvalid` is true when every requested role was unknown (caller should error out, not warn). */ export declare function unknownRolesDiagnostic(invalid: string[], requestedCount: number): { allInvalid: boolean; message: string; }; export declare function autoExpandProfiles(cwd: string, acceptedRoleIds: string[], configuredTools: SupportedTool[], context?: { request?: string; configuredProfiles?: readonly string[]; }): ProfileExpandResult;