UNPKG

471 BTypeScriptView Raw
1import type { Abbreviation } from '@emmetio/abbreviation';
2import type { Config } from '../config.js';
3/**
4 * Parses given Emmet abbreviation into a final abbreviation tree with all
5 * required transformations applied
6 */
7export default function parse(abbr: string | Abbreviation, config: Config): Abbreviation;
8/**
9 * Converts given abbreviation to string according to provided `config`
10 */
11export declare function stringify(abbr: Abbreviation, config: Config): string;