import { Attribute } from "./attribute"; import { Doc } from "./doc"; export type Rule = (ruleAttr: Attribute, doc: Doc) => void; /** * Declare a function. */ export declare const functionRule: Rule; /** * Declare a table. */ export declare const tableRule: Rule; export declare function applyRules(docs: Doc[]): Doc[];