import type { GroundTruth, ReconContext } from "./types.js"; /** * A handle to a relay target. Returned by `client.createOrGetTarget`, `getTarget`, * and `updateTarget`; pass its `targetId` to `client.createScan`. The recon * profile lives on the target server-side and is set during `createOrGetTarget` * (via `appContext` or a recon run); this object exposes the current profile. */ export interface Target { readonly targetId: string; readonly name: string; /** The target's recon profile, or undefined when it has none. */ readonly recon?: ReconContext; /** The target's ground truth (system prompt and/or tool definitions), or * undefined when it has none. */ readonly groundTruth?: GroundTruth; /** Whether the target has a recon profile (set via appContext, a recon run, * or the dashboard). */ readonly hasRecon: boolean; /** * When true, each probe is an independent one-turn exchange with no session * state carried across calls. Incompatible with crescendo and * tool-response-poisoning, which require multi-turn sessions. */ readonly singleTurn?: boolean; } /** * Builds a Target, deriving `hasRecon` from `recon` so the two never drift. * Every Target the client hands back is created here. */ export declare const makeTarget: (fields: { targetId: string; name: string; recon?: ReconContext; groundTruth?: GroundTruth; singleTurn?: boolean; }) => Target; //# sourceMappingURL=target.d.ts.map