import type { RoleContext } from './types.js'; export declare function loadRole(storageDir?: string): RoleContext | null; export declare function saveRole(role: Omit, storageDir?: string): RoleContext; /** Render a role context as a system-preamble line for task prompts. */ export declare function rolePreamble(ctx: RoleContext | null): string | undefined;