import { authorizeConfigWrite } from "../../channels/plugins/config-writes.js"; import type { ChannelId } from "../../channels/plugins/types.public.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; export declare function resolveConfigWriteDeniedText(params: { cfg: OpenClawConfig; channel?: string | null; originChannelId: ChannelId | null; originAccountId?: string; gatewayClientScopes?: string[]; target: Parameters[0]["target"]; fallbackChannelId?: ChannelId | null; }): string | null;