import { type SshCommand } from "../utils/sshCommand.js";
import type { SshdSetting, SecureAuditResult } from "../types/index.js";
export declare function parseSshdConfig(content: string): SshdSetting[];
export declare function parseAuditResult(stdout: string): SecureAuditResult;
export declare function buildHardeningCommand(options?: {
    port?: number;
}): SshCommand;
export declare function buildFail2banCommand(): SshCommand;
export declare function buildAuditCommand(): SshCommand;
export declare function buildKeyCheckCommand(): SshCommand;
export interface SecureSetupResult {
    success: boolean;
    sshHardening: boolean;
    fail2ban: boolean;
    sshKeyCount: number;
    error?: string;
    hint?: string;
}
export interface SecureAuditFullResult {
    audit: SecureAuditResult;
    score: number;
    error?: string;
    hint?: string;
}
export declare function applySecureSetup(ip: string, options?: {
    port?: number;
}): Promise<SecureSetupResult>;
export declare function calculateSecurityScore(audit: SecureAuditResult): number;
export declare function runSecureAudit(ip: string): Promise<SecureAuditFullResult>;
export declare function secureSetup(ip: string, name: string, options?: {
    port?: string;
}, dryRun?: boolean, force?: boolean): Promise<void>;
//# sourceMappingURL=secure.d.ts.map