import type { OpenClawPluginApi } from './openclaw-sdk.js'; export { checkConversationAccessConfig, getPluginEntry, ensureConversationAccessInConfig } from './core/config-health.js'; export type { ConversationAccessCheckResult } from './core/config-health.js'; declare function isRecord(value: unknown): value is Record; /** * PRI-305/PRI-307: Load feature flag from .pd/config.yaml instead of .pd/feature-flags.yaml. * Delegates to the shared plugin config loader for consistency. */ declare function loadFeatureFlagFromWorkspace(workspaceDir: string, flagId: string, logger?: { warn?: (msg: string) => void; info?: (msg: string) => void; }): { enabled: boolean; source: string; }; export interface CorrectionObserverGateResult { shouldStart: boolean; flagSource: string; disabledInfo: string | null; } export declare function shouldStartCorrectionObserver(workspaceDir: string, logger: { info?: (msg: string) => void; warn?: (msg: string) => void; }): CorrectionObserverGateResult; export interface InternalizationAutoConsumerGateResult { shouldStart: boolean; flagSource: string; disabledInfo: string | null; } export declare function shouldStartInternalizationAutoConsumer(workspaceDir: string, logger: { info?: (msg: string) => void; warn?: (msg: string) => void; }): InternalizationAutoConsumerGateResult; export declare function shouldUseSharedHostRuntime(workspaceDir: string, logger: { info?: (msg: string) => void; warn?: (msg: string) => void; }): { enabled: boolean; source: string; rollbackReason: string | null; }; declare const plugin: { name: string; description: string; register(api: OpenClawPluginApi): void; }; export { PrincipleTreeLedgerAdapter } from '@principles/core/runtime-v2'; export { loadFeatureFlagFromWorkspace, isRecord }; export { initTrajectorySchema } from './core/trajectory.js'; export default plugin;