import { type Diagnostic, type File, ts, Database, type ProjectFile as IProjectFile, type Shape, Formatter, type Record } from '@servicenow/sdk-build-core'; import type { Project } from './project'; export declare class ProjectFile implements IProjectFile { private readonly file; private readonly project; private readOnly; constructor(file: ts.SourceFile | File, project: Project, readOnly?: boolean); getPath(): string; getName(): string; getContent(): string; setContent(content: string): void; setReadOnly(readOnly: boolean): void; getDiagnostics(): Promise; getShapes(throwOnError?: boolean): Promise; getRecords(throwOnError?: boolean): Promise; getRecordsNoDedupe(throwOnError?: boolean, sysIds?: Set): Promise; getOutput(throwOnError?: boolean): Promise; isUpdateSetXml(): boolean; isInMetadataDir(): boolean; isInFluentHostedPluginDir(pluginId?: string): boolean; isInServerModulesDir(): boolean; isInUiHtmlContentDir(): boolean; isKeysRegistry(): boolean; reload(refreshFromFileSystem?: boolean): void; fix(): void; format(formatter?: Formatter): Promise; save(): void; remove(): void; unwrap(): ts.SourceFile | File; addStatement(code?: string): ts.Statement; }