import * as plugins from '../../plugins.js';
import type { OpsServer } from '../classes.opsserver.js';
import * as interfaces from '../../../dist_ts_interfaces/index.js';
export interface IJwtData {
    userId: string;
    status: 'loggedIn' | 'loggedOut';
    expiresAt: number;
}
export declare class AdminHandler {
    private opsServerRef;
    typedrouter: plugins.typedrequest.TypedRouter<interfaces.typedrequestInterfaces.ITypedRequest>;
    smartjwtInstance: plugins.smartjwt.SmartJwt<IJwtData>;
    private users;
    constructor(opsServerRef: OpsServer);
    initialize(): Promise<void>;
    private initializeJwt;
    private initializeDefaultUsers;
    private registerHandlers;
    /**
     * Create a guard for valid identity (matching cloudly pattern)
     */
    validIdentityGuard: plugins.smartguard.Guard<{
        identity: interfaces.data.IIdentity;
    }>;
    /**
     * Create a guard for admin identity (matching cloudly pattern)
     */
    adminIdentityGuard: plugins.smartguard.Guard<{
        identity: interfaces.data.IIdentity;
    }>;
}
