import type { PluginMcpOrigin } from '../../extensions/agent-plugins/refresh-runtime-access.js'; import type { LoadedMcpConfig } from '@earendil-works/pi-coding-agent'; import { type Config } from '../../config/schema.js'; import { type NativeMcpCredentials } from './credential-store.js'; /** One process-wide pi directory: sessions share native OAuth credentials, never swap roots per turn. */ export declare function getNativePiAgentDir(): Promise; export type NativeMcpConfig = LoadedMcpConfig & { credentials?: NativeMcpCredentials; credentialAliases?: Record; automationSourceRunId?: string; assertPluginCallAccess?: (origin: PluginMcpOrigin) => Promise; }; /** Only projects host configuration and secret references; all MCP execution belongs to pi. */ export declare function prepareNativeMcpConfig(config: Config, workspaceDir: string, agentId?: string): Promise;