/** * PRI-348: Extract the full plugin entry (including hooks) from the global OpenClaw config. * Unlike api.pluginConfig (which is only the entry.config sub-object), this returns * the entire entry including hooks, config, enabled, etc. */ export declare function getPluginEntry(config: unknown, pluginId: string): unknown; export interface ConversationAccessCheckResult { authorized: boolean; reason?: string; nextAction?: string; } /** * PRI-343: Pure function — checks if pluginConfig has hooks.allowConversationAccess === true. * Returns a structured result with reason and nextAction when not authorized (ERR-002). */ export declare function checkConversationAccessConfig(pluginConfig: unknown): ConversationAccessCheckResult; export declare function ensureConversationAccessInConfig(): boolean;