import type { ToolDefinition } from '@deepseek-ai/dsh-tools'; import type { PartnerStore } from '../store.js'; import { type ToolAccessDecision } from './tool-access-adapter.js'; /** Trusted presentation modes, computed by the runtime, never accepted from model input. */ export declare enum ToolPresentationFlag { Discovery = 1, TerminalOnly = 2, ActivityChoice = 4, TaskReview = 8 } export interface ToolPresentationPolicy { owner?: string | undefined; flags: number; access: ToolAccessDecision; } /** Keep registrations stable. Select a bounded set of views from trusted flags. * Definition identity/order and ownership revision also participate: a plugin * unload, replacement, or host admission change cannot resurrect a cached tool. * Dispatch remains in the original live authorization/approval pipeline. */ export declare function createToolPresentationSelector(store: PartnerStore): (tools: readonly ToolDefinition[], policy: ToolPresentationPolicy) => readonly ToolDefinition[]; //# sourceMappingURL=tool-presentation.d.ts.map