import { AxioDB } from "../Indexation.operation"; /** * Idempotently creates the `config` database and its `users`/`roles`/`permissions` * collections on first control-server start, then hydrates PermissionChecker's * in-memory role->permissions cache on every boot (including subsequent restarts, * where seeding itself is a no-op but the cache still needs rebuilding). */ export default class AuthSeeder { private readonly axioDBInstance; constructor(axioDBInstance: AxioDB); seedIfNeeded(): Promise; private seedPermissions; private seedRoles; private seedDefaultAdmin; private hydratePermissionCache; }