/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { type JsonValue } from '@angular-devkit/core'; import { type Node } from 'jsonc-parser'; import { type InsertionIndex } from './insertion-index'; import { type JSONPath } from './json-path'; export declare class JSONFileContent { protected jsonAstNode: Node | undefined; protected content: string; constructor(content: string); get(jsonPath: JSONPath): string | undefined; getContent(): string; modify(jsonPath: JSONPath, value?: JsonValue, insertInOrder?: InsertionIndex | false): void; remove(jsonPath: JSONPath): void; protected jsonAst(): Node | undefined; }