import { h } from "hastscript"; export { DEFAULT_CONFIG } from "./const.js"; export type HastNode = ReturnType; /** Helper function for debug */ export declare function printDoc(doc: TDoc, depth?: number): void; export declare function parseRems(workspace: Workspace): [TDoc, DocMap]; export declare function transformDoc(tdoc: TDoc, ctx: Context, level?: number): HastNode | undefined; export declare function hydrate(workspace: Workspace): false | TDoc; export declare function rem2Hast(workspace: Workspace, config?: XformConfig): import("hast").Element; export declare function rem2Html(workspace: Workspace, config?: XformConfig): string; /** @deprecated only compatible with 0.2.x hydration */ export declare function hydrate2Html(hydrated: TDoc, config?: XformConfig): string; //# sourceMappingURL=index.d.ts.map