export declare function createSession(): string; export declare function validateSession(token: string | undefined | null): boolean; export declare function destroySession(token: string): void; export declare function getAllSessions(): Array<{ token: string; createdAt: number; lastUsedAt: number; }>; export declare function getActiveSessionCount(): number; export declare function checkLoginAllowed(clientKey: string): { allowed: boolean; retryAfterSec: number; }; export declare function recordLoginFailure(clientKey: string): void; export declare function recordLoginSuccess(clientKey: string): void; interface PanelCredentials { username: string; password: string; } export declare function getPanelCredentials(): PanelCredentials; export declare function validateCredentials(username: string, password: string): boolean; export declare function clearCredentialsCache(): void; export declare function hasConfiguredCredentials(): boolean; export declare function isDefaultCredentials(): boolean; export declare function setPanelCredentials(username: string, password: string): Promise; export declare function migrateLegacyPanelCredentials(): Promise; export {};