/** Native handler qualifications. Names, tool text and JSON never issue these. */ type Handler = { execute: unknown; executeStream?: unknown; normalizeInput?: unknown; inputSchema?: unknown; parameters?: unknown; acceptsInvocationContext?: unknown; }; export type NativeWorkModeToolKind = "read" | "file_mutation" | "runtime_control"; /** Trusted native constructors/host adapters only; never called from model arguments. */ export declare function qualifyNativeWorkModeTool(tool: Handler, kind: NativeWorkModeToolKind): void; /** Preserve qualification through an audited adapter, retaining original handler identity. */ export declare function adaptNativeWorkModeTool(source: Handler, adapter: Handler): void; export declare function nativeWorkModeToolKind(tool: Handler): NativeWorkModeToolKind | undefined; export interface WorkModeFileGuard { /** Canonical targets are computed by the actual mutation handler, never declared in model JSON. */ assertPaths(paths: ReadonlyArray<{ requestedPath: string; canonicalPath: string; }>): void; } export {};