type FileType = 'json' | 'yaml'; export type SchemaSource = { type: 'local'; path: string; } | { type: 'remote'; url: string; }; export declare class SchemaFile { contents: string | null; schemaSource: SchemaSource | null; fileType: FileType | null; private constructor(); static openFromProject(projectName: string, source: string | undefined): Promise; static openFromSource(source: string): Promise; static getFromSource(source: SchemaSource): Promise<{ contents: string; fileType: FileType; }>; static create(): SchemaFile; } export declare const toSchemaSource: (source: string) => SchemaSource; export {}; //# sourceMappingURL=schema-file.d.ts.map