import { type JsonSchema, type ProcedureManifest, type ViewManifest } from "@aotter/mantle-spec"; import type { RuntimePlan } from "./RuntimePlanCompiler.js"; interface CallableCapabilityBase { readonly name: string; readonly surface: "staff" | "public"; readonly title?: string; readonly description: string; readonly inputSchema: JsonSchema; } export interface ViewCallableCapability extends CallableCapabilityBase { readonly kind: "view"; readonly ownerName: string; readonly manifest: ViewManifest; } export interface ProcedureCallableCapability extends CallableCapabilityBase { readonly kind: "procedure"; readonly ownerName: string; readonly trigger: string; readonly manifest: ProcedureManifest; readonly outputSchema: JsonSchema; } export type RuntimeCallableCapability = ViewCallableCapability | ProcedureCallableCapability; /** Pure callable projection. Discovery and invocation consume this same slice. */ export declare function projectCallableCapabilities(plan: RuntimePlan, options?: { readonly surface?: "staff" | "public"; }): readonly RuntimeCallableCapability[]; export {}; //# sourceMappingURL=CallableCapabilityProjector.d.ts.map