import type { SettingsManager } from "@earendil-works/pi-coding-agent"; import type { KlawConfig } from "../config/types.klaw.js"; import type { BundleMcpServerConfig } from "../plugins/bundle-mcp.js"; import { type PluginMetadataSnapshot } from "../plugins/plugin-metadata-snapshot.js"; export declare const DEFAULT_EMBEDDED_PI_PROJECT_SETTINGS_POLICY = "sanitize"; export type EmbeddedPiProjectSettingsPolicy = "trusted" | "sanitize" | "ignore"; export type PiSettingsSnapshot = ReturnType & { mcpServers?: Record; }; export declare function loadEnabledBundlePiSettingsSnapshot(params: { cwd: string; cfg?: KlawConfig; env?: NodeJS.ProcessEnv; pluginMetadataSnapshot?: PluginMetadataSnapshot; }): PiSettingsSnapshot; export declare function resolveEmbeddedPiProjectSettingsPolicy(cfg?: KlawConfig): EmbeddedPiProjectSettingsPolicy; export declare function buildEmbeddedPiSettingsSnapshot(params: { globalSettings: PiSettingsSnapshot; pluginSettings?: PiSettingsSnapshot; projectSettings: PiSettingsSnapshot; policy: EmbeddedPiProjectSettingsPolicy; }): PiSettingsSnapshot;