1 | import { SchemaOptions } from '../options.js';
|
2 | import type { CollectionTag, ScalarTag } from './types.js';
|
3 | declare const tagsByName: {
|
4 | binary: ScalarTag;
|
5 | bool: ScalarTag & {
|
6 | test: RegExp;
|
7 | };
|
8 | float: ScalarTag;
|
9 | floatExp: ScalarTag;
|
10 | floatNaN: ScalarTag;
|
11 | floatTime: ScalarTag;
|
12 | int: ScalarTag;
|
13 | intHex: ScalarTag;
|
14 | intOct: ScalarTag;
|
15 | intTime: ScalarTag;
|
16 | map: CollectionTag;
|
17 | null: ScalarTag & {
|
18 | test: RegExp;
|
19 | };
|
20 | omap: CollectionTag;
|
21 | pairs: CollectionTag;
|
22 | seq: CollectionTag;
|
23 | set: CollectionTag;
|
24 | timestamp: ScalarTag & {
|
25 | test: RegExp;
|
26 | };
|
27 | };
|
28 | export type TagId = keyof typeof tagsByName;
|
29 | export type Tags = Array<ScalarTag | CollectionTag | TagId>;
|
30 | export declare const coreKnownTags: {
|
31 | 'tag:yaml.org,2002:binary': ScalarTag;
|
32 | 'tag:yaml.org,2002:omap': CollectionTag;
|
33 | 'tag:yaml.org,2002:pairs': CollectionTag;
|
34 | 'tag:yaml.org,2002:set': CollectionTag;
|
35 | 'tag:yaml.org,2002:timestamp': ScalarTag & {
|
36 | test: RegExp;
|
37 | };
|
38 | };
|
39 | export declare function getTags(customTags: SchemaOptions['customTags'] | undefined, schemaName: string): (CollectionTag | ScalarTag)[];
|
40 | export {};
|