UNPKG

sussudio

Version:

An unofficial VS Code Internal API

17 lines (16 loc) 715 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ export interface ILink { readonly label: string; readonly href: string; readonly title?: string; } export type LinkedTextNode = string | ILink; export declare class LinkedText { readonly nodes: LinkedTextNode[]; constructor(nodes: LinkedTextNode[]); toString(): string; } export declare function parseLinkedText(text: string): LinkedText;