import { Node } from '../interface'; import style from './style'; export declare class Context { inkey: boolean; onFormat: (ast: Node, context: Context, html: string) => string; } export { style }; export interface Formatter { start: (any, context: Context) => string; router: (any, context: Context) => string; [x: number]: (node: any, context: Context) => string; } export declare const renderRange: (text: any, type: any) => string; export declare const renderLine: (text: any) => string; export declare const renderBlock: (text: any) => string; export declare const renderContainer: (text: any) => string; export declare const renderLayout: (text: any) => string; export declare const formatter: Formatter; declare const _default: (ast: Node[]) => string; export default _default;