/**
 * 网络作战能力框架 (CNO Capability Framework)
 *
 * Computer Network Operations capability module implementing:
 * - 网络侦察 (Network Reconnaissance)
 * - 渗透攻击 (Penetration Attack)
 * - 指挥控制 (Command & Control)
 * - 数据外泄 (Data Exfiltration)
 * - 态势感知 (Situational Awareness)
 *
 * All operations require proper authorization context.
 */
import type { CapabilityContribution, CapabilityContext } from '../runtime/agentHost.js';
import { UniversalCapabilityModule, type CapabilityMetadata } from './universalCapabilityFramework.js';
export type CNOOperationType = 'reconnaissance' | 'exploitation' | 'command_control' | 'exfiltration' | 'persistence' | 'lateral_movement' | 'defense_evasion';
export interface CNOTarget {
    id: string;
    type: 'host' | 'network' | 'service' | 'application' | 'user';
    identifier: string;
    metadata?: Record<string, any>;
}
export interface CNOOperation {
    id: string;
    type: CNOOperationType;
    target: CNOTarget;
    parameters: Record<string, any>;
    authorization: string;
    timestamp: Date;
}
export interface CNOResult {
    operationId: string;
    success: boolean;
    data?: any;
    artifacts?: string[];
    nextSteps?: string[];
}
export declare class NetworkReconnaissanceCapability extends UniversalCapabilityModule {
    readonly id = "capability.cno.reconnaissance";
    readonly metadata: CapabilityMetadata;
    private episodicMemory;
    create(context: CapabilityContext): Promise<CapabilityContribution>;
    execute(params: {
        operation: string;
        parameters: Record<string, any>;
        operationId?: string;
    }): Promise<CNOResult>;
    private portScan;
    private dnsEnumerate;
    private topologyMap;
    private vulnScan;
    private serviceIdentify;
    private guessService;
    private recordOperation;
}
export declare class CommandControlCapability extends UniversalCapabilityModule {
    readonly id = "capability.cno.command-control";
    readonly metadata: CapabilityMetadata;
    private channels;
    create(context: CapabilityContext): Promise<CapabilityContribution>;
    execute(params: {
        operation: string;
        parameters: Record<string, any>;
        operationId?: string;
    }): Promise<CNOResult>;
    private establishChannel;
    private sendCommand;
    private receiveData;
    private beacon;
    private listChannels;
    private cleanupChannels;
}
export declare class SituationalAwarenessCapability extends UniversalCapabilityModule {
    readonly id = "capability.cno.situational-awareness";
    readonly metadata: CapabilityMetadata;
    private alerts;
    create(context: CapabilityContext): Promise<CapabilityContribution>;
    execute(params: {
        operation: string;
        parameters: Record<string, any>;
        operationId?: string;
    }): Promise<CNOResult>;
    private monitor;
    private analyzeThreat;
    private assessRisk;
    private generateMap;
    private getAlerts;
    private getRiskRecommendations;
}
export declare class CNOUnifiedCapability extends UniversalCapabilityModule {
    readonly id = "capability.cno.unified";
    readonly metadata: CapabilityMetadata;
    private recon;
    private c2;
    private sa;
    create(context: CapabilityContext): Promise<CapabilityContribution>;
    execute(params: {
        operation: string;
        parameters: Record<string, any>;
        operationId?: string;
    }): Promise<any>;
    private runCampaign;
    private getStatus;
}
export declare const CNOCapabilities: {
    NetworkReconnaissanceCapability: typeof NetworkReconnaissanceCapability;
    CommandControlCapability: typeof CommandControlCapability;
    SituationalAwarenessCapability: typeof SituationalAwarenessCapability;
    CNOUnifiedCapability: typeof CNOUnifiedCapability;
};
//# sourceMappingURL=cnoCapability.d.ts.map