import type { ConfigurableAgentId } from "../agent-capabilities/identity.js"; import type { WorkspaceScope } from "../workspace-scope.js"; import type { HookManifest, HookImplementation } from "./manifest-schema.js"; export interface HookImplementationContext { readonly scope: WorkspaceScope; readonly platform?: string; readonly hostVersion?: string; readonly profile?: string; readonly availableRuntimes?: ReadonlyArray<"bash" | "node" | "python">; } export type HookImplementationResolution = { readonly status: "selected" | "conditional"; readonly implementation: HookImplementation; readonly conditions: ReadonlyArray; } | { readonly status: "unsupported"; readonly reasons: ReadonlyArray; } | { readonly status: "ambiguous"; readonly implementationIds: ReadonlyArray; }; /** Select declared implementations without treating unknown host facts as verified support. */ export declare const resolveHookImplementation: (manifest: HookManifest, agentId: ConfigurableAgentId, context: HookImplementationContext) => HookImplementationResolution; //# sourceMappingURL=resolution.d.ts.map