import { IURIProtocolReadResult } from "@tandem/sandbox"; import { ISerializable } from "@tandem/common"; export declare const PROJECT_COLLECTION_NAME = "projects"; export interface IProjectData { owner?: string; createdAt?: Date; updatedAt?: Date; _id?: string; uri: string; } export declare class Project implements ISerializable { private _kernel; private _bus; private _config; owner: string; createdAt: Date; updatedAt: Date; _id: string; uri: string; constructor(source?: IProjectData); serialize(): { owner: string; createdAt: Date; updatedAt: Date; _id: string; uri: string; }; readonly sourceUri: string; readonly httpUrl: string; writeSourceURI(content: string): Promise; save(): Promise; read(): Promise; watch(onChange?: () => any): { dispose(): any; }; deserialize({owner, createdAt, updatedAt, _id, uri}: IProjectData): void; }