import { EndpointToolRegistry, type EndpointToolApprovalRequest } from '@xopcai/endpoint-tools-client'; import { z } from 'zod'; export declare const deviceHostConfigSchema: z.ZodObject<{ gatewayUrl: z.ZodURL; tokenEnv: z.ZodString; identityPath: z.ZodString; displayName: z.ZodString; artifactDir: z.ZodOptional; providers: z.ZodArray>; server: z.ZodUnion>; env: z.ZodOptional>; cwd: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ url: z.ZodURL; headers: z.ZodOptional>; }, z.core.$strict>]>; policies: z.ZodRecord; timeoutMs: z.ZodNumber; effect: z.ZodEnum<{ read: "read"; write: "write"; destructive: "destructive"; }>; confirmation: z.ZodEnum<{ never: "never"; always: "always"; }>; requiresForeground: z.ZodBoolean; requiredPermissions: z.ZodArray; maxConcurrency: z.ZodNumber; supportsCancellation: z.ZodBoolean; idempotent: z.ZodBoolean; resultKinds: z.ZodArray>; artifactInput: z.ZodOptional; resourceId: z.ZodOptional; }, z.core.$strict>>; resourcePrefixes: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; /** Explicit device-local configuration; never reads Gateway-owned MCP configuration or credentials. */ export declare function startDeviceHost(config: z.infer, options?: { confirm?: (request: EndpointToolApprovalRequest) => Promise; onError?: (providerId: string, error: Error) => void; }): Promise<{ registry: EndpointToolRegistry; principalId: string; endpointId: string; close: () => Promise; }>; export declare function readDeviceHostConfig(path: string): Promise<{ gatewayUrl: string; tokenEnv: string; identityPath: string; displayName: string; providers: { title: string; summary: string; localId: string; server: { command: string; args?: string[] | undefined; env?: Record | undefined; cwd?: string | undefined; } | { url: string; headers?: Record | undefined; }; policies: Record; gatewayFormInput?: 1 | undefined; resourcePrefixes?: string[] | undefined; }[]; artifactDir?: string | undefined; }>;