@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
16 lines (14 loc) • 823 B
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 { JSONPath } from '@sussudio/base/common/json.mjs';
import { FormattingOptions } from '@sussudio/base/common/jsonFormatter.mjs';
export declare function edit(
content: string,
originalPath: JSONPath,
value: any,
formattingOptions: FormattingOptions,
): string;
export declare function getLineStartOffset(content: string, eol: string, atOffset: number): number;
export declare function getLineEndOffset(content: string, eol: string, atOffset: number): number;