import type { Child, Properties } from "hastscript"; export declare const wrap: (element: Child, tagName: string) => import("hast").Element; export declare function wrapElementChildren(element: Child, tagName: string, properties: Properties, prepend?: Child[], append?: Child[]): Child; /** * @description Add `className`s to a Node * @param className New class names to add * @param inplace Check if the Node is an Element. If not, throw an error * @returns the new Node or the original Node if it's not a text node */ export declare const cls: (element: Child, className: string, inplace?: boolean) => import("hast").Element; export declare function mapColor(color: string | number, saturation: number, map: string[]): string; /** Make text */ export declare function t(text: string): { type: "text"; value: string; }; export declare function m(ele: Ele, ctx: Context): Child | undefined; //# sourceMappingURL=item.d.ts.map