export interface SecurityConfig {
    encryptionEnabled: boolean;
    authToken: string;
    rateLimitPerMinute: number;
    lastTokenRotation: string;
}
export interface HealthStatus {
    status: 'healthy' | 'degraded' | 'unhealthy';
    uptime: number;
    dbStatus: string;
    dbSizeBytes: number;
    memoryUsageMB: number;
    lastScan: string;
    version: string;
    platform: string;
}
export interface MetricsData {
    queriesPerSecond: number;
    signalsPerSecond: number;
    patternsCount: number;
    sessionsCount: number;
    dbSizeBytes: number;
    dbTableCounts: Record<string, number>;
    memoryUsageMB: number;
    uptimeSeconds: number;
}
export interface BackupInfo {
    path: string;
    size: number;
    createdAt: string;
}
export interface RateLimitEntry {
    count: number;
    resetAt: number;
}
export declare function generateToken(): string;
export declare function rotateAuthToken(): string;
export declare function validateAuthToken(token: string): boolean;
export declare function checkRateLimit(clientId: string): {
    allowed: boolean;
    remaining: number;
    resetIn: number;
};
export declare function encryptData(data: string, key?: string): string;
export declare function decryptData(encryptedData: string, key?: string): string;
export declare function trackQuery(): void;
export declare function getQueriesPerSecond(): number;
export declare function optimizeDatabase(): Record<string, unknown>;
export declare function getSlowQueries(): Array<{
    query: string;
    avgMs: number;
}>;
export declare function autoBackup(): BackupInfo | null;
export declare function checkDatabaseIntegrity(): {
    healthy: boolean;
    errors: string[];
};
export declare function setupGracefulShutdown(): void;
export declare function recoverFromCrash(): {
    recovered: boolean;
    message: string;
};
export declare function setLastScan(time: string): void;
export declare function getHealthStatus(): HealthStatus;
export declare function getMetrics(): MetricsData;
export declare function getPlatformInfo(): Record<string, unknown>;
//# sourceMappingURL=production.d.ts.map