import { NodePatcherRuleTypes } from "./createTemplate"; /** * The rule to "compile" to patch the DOM node */ export interface NodePatcherRule { /** * The type of patching to do to that node */ type: NodePatcherRuleTypes; /** * The path to locate the node */ path: number[]; /** * The name of the attribute to patch * Only populated if it is an attribute or an event */ name?: string; } /** * Creates the rules for the node patcher * @param node * @param path * @param rules * @returns */ export default function createNodePatcherRules(node: Node, path?: number[], rules?: NodePatcherRule[]): NodePatcherRule[]; //# sourceMappingURL=createNodePatcherRules.d.ts.map