/**
 * The role base's one decision rule (a leaf): of an ordered list of sources — the task, the requested model role's
 * preset — the first that names a role base decides it wholly (the sugar's header).
 */
import type { HostRole } from "./catalog/schema.js";
/** A source's statement of the role base — its word (the host role; selects the `core/role.base` variant), its text
 *  (replaces that base), or both. `TaskSpec`, a role preset and the delegation tool's options have this shape. */
export interface RoleBaseDeclaration {
    readonly promptRole?: HostRole;
    readonly systemPrompt?: string;
}
/** Whether a source names a role base — the one reading of "this seat has spoken". */
export declare function namesRoleBase(d: RoleBaseDeclaration | undefined): boolean;
/** The first source that names a role base, whole; `undefined` ⇒ none did. */
export declare function roleBaseOf(sources: readonly (RoleBaseDeclaration | undefined)[]): RoleBaseDeclaration | undefined;
