1 | import { CSSAbbreviation } from '@emmetio/css-abbreviation';
|
2 | import { Config, SnippetsMap } from '../config';
|
3 | import { CSSSnippet } from './snippets';
|
4 | declare type MatchInput = CSSSnippet | string;
|
5 | export declare const enum CSSAbbreviationScope {
|
6 |
|
7 | Global = "@@global",
|
8 |
|
9 | Section = "@@section",
|
10 |
|
11 | Property = "@@property",
|
12 |
|
13 | Value = "@@value"
|
14 | }
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export default function parse(abbr: string | CSSAbbreviation, config: Config): CSSAbbreviation;
|
20 | export { default as stringify } from './format';
|
21 |
|
22 |
|
23 |
|
24 | export declare function convertSnippets(snippets: SnippetsMap): CSSSnippet[];
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | export declare function findBestMatch<T extends MatchInput>(abbr: string, items: T[], minScore?: number, partialMatch?: boolean): T | null;
|