import type { IStreamLogger } from '../../../PSAgentLogger'; import type { IBackendEndpoints } from '../../endpoints.interface'; import type { AgentEventResponse, IAgent, IAgentEvaluationResponse, IAgentInstructResponse, IAgentResponse, IAgentResumeResponse } from '../../interfaces'; import type { IBackendContext } from '../../interfaces'; import { Auth } from './Auth'; export default class Agent implements IAgent { private readonly config; private readonly auth; private readonly endpoints; constructor(config: IBackendContext, auth?: Auth, endpoints?: IBackendEndpoints); private getAuthHeaders; start(payload: Record, log?: IStreamLogger): Promise; instruct(agentId: string, correlationId: string | undefined, instruction: string): Promise; resume(agentId: string, correlationId: string | undefined, toolOutput: Record): Promise; delete(agentId: string, log?: IStreamLogger): Promise; getEvents(correlationId: string): Promise; getEvaluationResults(agentId: string): Promise; }