import type { HarnessAdapter, ToolNameMap } from '../harness.js'; import type { GuardResult, AnyGuardDefinition } from '../guard.js'; /** Guard manifest entry written to guards-manifest.json */ export interface GuardManifestEntry { name: string; description: string; hookEvent: string; matcher?: string; level: string; command: string; } /** Generic adapter — works with any harness via shell scripts and JSON manifest. */ export declare class GenericAdapter implements HarnessAdapter { readonly id: "generic"; readonly displayName = "Generic (Shell)"; readonly toolNames: ToolNameMap; readonly supportedEvents: Set; readonly supportsContextInjection = false; hooksConfigPath(_cwd: string): string | null; formatPreToolOutput(result: GuardResult): unknown; formatPostToolOutput(result: GuardResult): unknown; formatStopOutput(result: GuardResult): unknown; generateHooksConfig(guards: AnyGuardDefinition[], guardScriptPath: string): GuardManifestEntry[]; installGuards(cwd: string, guards: AnyGuardDefinition[]): void; detect(_cwd: string): boolean; } /** Singleton instance */ export declare const genericAdapter: GenericAdapter; //# sourceMappingURL=generic.d.ts.map