import type { SettingsManager } from "@earendil-works/pi-coding-agent";
import type { DaoCoreConfig } from "../config/types.daocore.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<SettingsManager["getGlobalSettings"]> & {
    mcpServers?: Record<string, BundleMcpServerConfig>;
};
export declare function loadEnabledBundlePiSettingsSnapshot(params: {
    cwd: string;
    cfg?: DaoCoreConfig;
    env?: NodeJS.ProcessEnv;
    pluginMetadataSnapshot?: PluginMetadataSnapshot;
}): PiSettingsSnapshot;
export declare function resolveEmbeddedPiProjectSettingsPolicy(cfg?: DaoCoreConfig): EmbeddedPiProjectSettingsPolicy;
export declare function buildEmbeddedPiSettingsSnapshot(params: {
    globalSettings: PiSettingsSnapshot;
    pluginSettings?: PiSettingsSnapshot;
    projectSettings: PiSettingsSnapshot;
    policy: EmbeddedPiProjectSettingsPolicy;
}): PiSettingsSnapshot;
