/** * Diff the old and new properties of a VNode and apply changes to the DOM node * @param {import('../internal').PreactElement} dom The DOM node to apply * changes to * @param {object} newProps The new props * @param {object} oldProps The old props * @param {boolean} isSvg Whether or not this node is an SVG node * @param {boolean} hydrate Whether or not we are in hydration mode */ export function diffProps(dom: import('../internal').PreactElement, newProps: object, oldProps: object, isSvg: boolean, hydrate: boolean): void; /** * Set a property value on a DOM node * @param {import('../internal').PreactElement} dom The DOM node to modify * @param {string} name The name of the property to set * @param {*} value The value to set the property to * @param {*} oldValue The old value the property had * @param {boolean} isSvg Whether or not this DOM node is an SVG node or not */ export function setProperty(dom: import('../internal').PreactElement, name: string, value: any, oldValue: any, isSvg: boolean): void;