1 | import { t } from '../common';
|
2 | export declare class RefLinks {
|
3 | static prefix: string;
|
4 | static is: {
|
5 | refKey(input?: string | undefined): boolean;
|
6 | refValue(input?: string | undefined): boolean;
|
7 | };
|
8 | static total(links?: t.IUriMap): number;
|
9 | static toKey(linkName: string): string;
|
10 | static parseKey(linkKey: string): t.ILinkKey;
|
11 | static parseValue(linkValue: string): {
|
12 | toString: t.RefLinkToString;
|
13 | uri: t.IRefLinkUri;
|
14 | value: string;
|
15 | query: t.IRefLinkQuery;
|
16 | };
|
17 | static parse(linkKey: string, linkValue: string): t.IRefLink;
|
18 | static toValue(uri: t.IUri, options?: {
|
19 | hash?: string;
|
20 | }): string;
|
21 | static toList(links?: t.IUriMap): t.IRefLink<t.IRefLinkUri>[];
|
22 | static find(links?: t.IUriMap): {
|
23 | byName(path?: string | undefined): t.IRefLink<t.IRefLinkUri> | undefined;
|
24 | };
|
25 | }
|