UNPKG

@sussudio/base

Version:

Internal APIs for VS Code's utilities and user interface building blocks.

18 lines (16 loc) 698 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;