import type { z } from 'zod'; import type { ToolSchema } from './types'; export declare function extractNamespacedArgs = Record>(args: Record, namespace: string, keys: readonly TFieldName[]): TArgs | undefined; export declare function sanitizeNamespacedArgs(args: Record, namespace: string, keys: readonly string[]): Record; /** * Build a flat tool schema whose keys are dotted `"."`. * * We intentionally stay flat (rather than `{ namespace: z.object({...}) }`) so * that CLI (`--android.device-id`) and `--help` output share the same spelling. * `readNamespacedArg` understands all three input shapes: * nested namespace object, dotted flat key, and bare key fallback. */ export declare function createNamespacedInitArgSchema(namespace: string, shape: Record): ToolSchema; //# sourceMappingURL=init-arg-utils.d.ts.map