import type { Tool } from "@github/copilot-sdk"; export declare const NATIVE_TASK_NAMES: readonly ["swarm-explore", "swarm-task"]; export type NativeTaskName = typeof NATIVE_TASK_NAMES[number]; /** Exact external tool names; MCP entries use server/tool. No wildcards. */ export type NativeTaskTools = Partial>; export declare const NATIVE_SYNCHRONOUS_TOOLS: Set; export declare function validateNativeTaskTools(value: unknown): asserts value is NativeTaskTools; /** Per CLI handle. Child identities come from runtime events, never model arguments. */ export declare class NativeTaskAccess { readonly declarations: NativeTaskTools; readonly tools: Record; readonly mcpServers: Record>; private children; private calls; private results; constructor(declarations: NativeTaskTools, parentTools: Tool[], reserved: Set, parentMcp: Record); observe(event: any): void; allows(sessionId: string, tool: string): boolean; allowsHook(sessionId: string, tool: string): boolean; invoke(tool: Tool, args: any, invocation: any, parentSessionId: string): unknown; /** Never persist runtime identity maps or MCP credentials with session config. */ toJSON(): undefined; } //# sourceMappingURL=native-task-policy.d.ts.map