// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.26; import {CreatePostParams, EditPostParams} from "lens-modules/contracts/core/interfaces/IFeed.sol"; import {KeyValue, RuleChange} from "lens-modules/contracts/core/types/Types.sol"; interface IFeedRule { function configure(bytes32 configSalt, KeyValue[] calldata ruleParams) external; function processCreatePost( bytes32 configSalt, uint256 postId, CreatePostParams calldata postParams, KeyValue[] calldata primitiveParams, KeyValue[] calldata ruleParams ) external; function processEditPost( bytes32 configSalt, uint256 postId, EditPostParams calldata postParams, KeyValue[] calldata primitiveParams, KeyValue[] calldata ruleParams ) external; function processDeletePost( bytes32 configSalt, uint256 postId, KeyValue[] calldata primitiveParams, KeyValue[] calldata ruleParams ) external; function processPostRuleChanges( bytes32 configSalt, uint256 postId, RuleChange[] calldata ruleChanges, KeyValue[] calldata ruleParams ) external; }