/** * Hook manager service. * * @experimental This API is unstable and may change without notice. */ import * as Effect from "effect/Effect"; import * as FileSystem from "effect/FileSystem"; import * as HttpClient from "effect/unstable/http/HttpClient"; import * as Layer from "effect/Layer"; import * as Path from "effect/Path"; import * as ServiceMap from "effect/Context"; import { type AppError } from "../app-error/index.js"; import type { ConfiguredAgentOutcome } from "../plan/plan.js"; import { type ProjectionPlan } from "../projection/planning.js"; import { SourceHostProviders } from "../source-resolution/index.js"; import type { ExtensionManager } from "../workspace/service-interface.js"; import { WorkspaceMutations } from "../workspace/service-interface.js"; import { type HookExtensionRef } from "./index.js"; export interface HookManagerService extends ExtensionManager { readonly projectionPlans: () => Effect.Effect, AppError>; readonly configuredAgentOutcomes?: (state: "projected" | "current") => Effect.Effect, AppError>; readonly configuredAgentOutcomesForRef?: (ref: HookExtensionRef, state: "projected" | "current") => Effect.Effect, AppError>; } declare const HookManager_base: ServiceMap.ServiceClass; export declare class HookManager extends HookManager_base { } export declare const HOOK_FALLBACKS_REGION_OWNER = "@agentxm/hooks/fallbacks"; export declare const HookManagerLive: Layer.Layer; export {}; //# sourceMappingURL=manager.d.ts.map