@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
21 lines (19 loc) • 1.06 kB
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { UriComponents } from '@sussudio/base/common/uri.mjs';
import { IExtensionTerminalProfile, ITerminalProfile, TerminalIcon } from './terminal.mjs';
export declare function createProfileSchemaEnums(
detectedProfiles: ITerminalProfile[],
extensionProfiles?: readonly IExtensionTerminalProfile[],
): {
values: (string | null)[] | undefined;
markdownDescriptions: string[] | undefined;
};
export declare function terminalProfileArgsMatch(
args1: string | string[] | undefined,
args2: string | string[] | undefined,
): boolean;
export declare function terminalIconsEqual(a?: TerminalIcon, b?: TerminalIcon): boolean;
export declare function isUriComponents(thing: unknown): thing is UriComponents;