import type { HostCommand, PlatformAdapter } from "./platform.js"; export type AgentacctComponentState = "disabled" | "healthy" | "degraded" | "unavailable" | "incompatible"; export interface AgentacctStatus { readonly state: AgentacctComponentState; readonly version?: string; readonly capabilities?: unknown; readonly ingestion?: unknown; readonly runtime?: { readonly state: string; readonly dashboardHealth: string; readonly dashboardUrl: string; readonly watcher: string; }; readonly detail: string; } export interface AgentacctSessionEvidence { readonly source: "agentacct-v1-session"; readonly version: string; readonly status?: string; readonly lastActivityAt?: string; readonly instrumentationState?: string; readonly usageTokens?: number; readonly usageConfidence?: string; readonly estimatedCost?: number; readonly costConfidence?: string; readonly workItemCount: number; readonly machineCheckCount: number; readonly models: readonly string[]; } export type AgentacctSessionLookup = { readonly status: "exact_session"; readonly evidence: AgentacctSessionEvidence; } | { readonly status: "ambiguous"; readonly matchCount: number; } | { readonly status: "unlinked"; readonly matchCount: 0; }; export interface AgentacctInstallSource { readonly source: string; readonly sha256: string; readonly lockSha256: string; readonly verifiedArtifact?: string; } export interface AgentacctAdapterOptions { readonly pythonExecutable?: string; readonly uvExecutable?: string; readonly managedRoot?: string; } export declare class AgentacctAdapter { private readonly adapter; private readonly expectedVersion; private readonly pythonExecutable; private readonly uvExecutable; private readonly nativeManagedRoot; constructor(adapter: PlatformAdapter, expectedVersion: string, options?: AgentacctAdapterOptions); private managedRoot; private storeRoot; private compatibilityRoot; private executable; private toolPython; private sourceHomes; private environment; private command; private processFile; private readNativeProcess; private nativeProcessHealthy; private fingerprintStartedProcess; private startNativeProcess; private stopNativeProcess; private nativeRuntime; install(input: AgentacctInstallSource): Promise; start(): Promise; refresh(): Promise; stop(): Promise; autostartCommand(): Promise; uninstallManagedRuntime(): Promise; status(): Promise; findBySessionHash(agent: string, sessionHash: string, identityKeyFile: string): Promise; } //# sourceMappingURL=agentacct-adapter.d.ts.map