export interface ParsedSshKnownHostLine {
    host: string;
    keyType: string;
    key: string;
    line: string;
    fingerprint: string;
}
export type ResolvedSshHostTrust = Readonly<{
    status: 'trusted';
    scanned: ParsedSshKnownHostLine;
    nextKnownHostsText: string;
}> | Readonly<{
    status: 'rejected';
    reason: 'invalidTrustedHostKey' | 'trustedHostKeyMismatch';
    scanned: ParsedSshKnownHostLine;
    message: string;
    trustedFingerprint?: string;
}> | Readonly<{
    status: 'prompt';
    promptKind: 'ssh.trustHost' | 'ssh.replaceHostKey';
    scanned: ParsedSshKnownHostLine;
    nextKnownHostsText: string;
    existingFingerprint?: string;
}>;
export declare function parseSshKnownHostLine(line: string): ParsedSshKnownHostLine | null;
export declare function extractFirstScannedSshKnownHostLine(output: string): ParsedSshKnownHostLine;
export declare function resolveSshKnownHostTrust(params: Readonly<{
    knownHostsText?: string;
    scannedHostKeyLine: string;
    trustedHostKey?: string;
}>): ResolvedSshHostTrust;
//# sourceMappingURL=sshHostTrust.d.ts.map