import type { ToolCall } from "@mariozechner/pi-ai"; import type { ProviderSettings } from "../../settings.js"; import type { InferenceRouter } from "../modules/inference/router.js"; import type { AppReviewDecision, AppRuleSet } from "./appTypes.js"; type AppToolReviewInput = { appId: string; appName: string; appSystemPrompt: string; rlmEnabled: boolean; sourceIntent: string; toolCall: ToolCall; rules: AppRuleSet; availableTools: Array<{ name: string; description: string; parameters: unknown; }>; inferenceRouter: InferenceRouter; providersOverride?: ProviderSettings[]; }; /** * Calls the review model and decides whether an app tool call is allowed. * Expects: rules and toolCall were prepared by the app executor. */ export declare function appToolReview(input: AppToolReviewInput): Promise; export {}; //# sourceMappingURL=appToolReview.d.ts.map