import { Kind } from "../Attack"; import { Source } from "../Source"; export type BlockOutboundConnectionResult = { operation: string; hostname: string; }; export type AttackResult = { operation: string; kind: Kind; source: Source; pathsToPayload: string[]; metadata: Record; payload: unknown; }; export type IdorViolationResult = { idorViolation: true; message: string; }; export type InterceptorResult = AttackResult | BlockOutboundConnectionResult | IdorViolationResult | void; export declare function isBlockOutboundConnectionResult(result: InterceptorResult): result is BlockOutboundConnectionResult; export declare function isAttackResult(result: InterceptorResult): result is AttackResult; export declare function isIdorViolationResult(result: InterceptorResult): result is IdorViolationResult;