/**
 * Admin adapter — barrel.
 *
 * Operator-grade, in-process host surface for authoring (specialist/skill
 * file creation) and control-plane actions (license management, memory
 * export/import) that don't belong on the observer-only dashboard and
 * don't need to go through MCP JSON-RPC.
 *
 *   import { createAdmin } from 'nexus-prime/admin';
 *
 *   const admin = createAdmin({ repoRoot });
 *   await admin.authoring.createSpecialist({ name: 'Fix Auth', ... });
 *   admin.control.license.activate(token);
 *   admin.control.memory.export();  // requires ctx.memory
 *
 * Layering:
 * - may import from `src/kernel/**`, `src/engines/**`, `src/adapters/shared/**`.
 * - MUST NOT import from `src/agents/adapters/mcp/**` or `src/dashboard/**`.
 *   Enforced by `test/adapter-boundary.test.ts`.
 */
import { type AuthoringAdmin } from './authoring.js';
import { type ControlAdmin } from './control.js';
import type { AdminContext } from './types.js';
export type { AdminContext, CreateSpecialistInput, CreateSpecialistResult, CreateSkillInput, CreateSkillResult, } from './types.js';
export type { AuthoringAdmin, } from './authoring.js';
export type { ControlAdmin, ControlLicenseAdmin, ControlMemoryAdmin, MemoryExportOptions, } from './control.js';
export interface Admin {
    authoring: AuthoringAdmin;
    control: ControlAdmin;
}
/**
 * Compose an admin surface bound to an absolute repoRoot. Fail-fast: throws
 * if `ctx.repoRoot` is missing or not absolute, mirroring the hooks adapter
 * contract from PR6.
 *
 * Pass `ctx.memory` to enable admin.control.memory.* methods.
 */
export declare function createAdmin(ctx: AdminContext): Admin;
