import IDataboxManifest, { IVersionHistoryEntry } from '@ulixee/specification/types/IDataboxManifest'; export default class DataboxManifest implements IDataboxManifest { private sharedConfigFileKey?; versionHash: string; versionTimestamp: number; scriptHash: string; scriptEntrypoint: string; coreVersion: string; schemaInterface: string; functionsByName: IDataboxManifest['functionsByName']; remoteDataboxes: Record; paymentAddress?: string; giftCardIssuerIdentity?: string; linkedVersions: IVersionHistoryEntry[]; allVersions: IVersionHistoryEntry[]; hasClearedLinkedVersions: boolean; explicitSettings: Partial; source: 'dbx' | 'entrypoint' | 'project' | 'global'; readonly path: string; constructor(manifestPath: string, source?: typeof DataboxManifest.prototype['source'], sharedConfigFileKey?: string); exists(): Promise; setLinkedVersions(absoluteScriptEntrypoint: string, linkedVersions: IVersionHistoryEntry[]): Promise; update(absoluteScriptEntrypoint: string, scriptHash: string, versionTimestamp: number, coreVersion: string, schemaInterface: string, functionsByName: IDataboxManifest['functionsByName'], remoteDataboxes: Record, paymentAddress: string, giftCardIssuerIdentity: string, logger?: (message: string, ...args: any[]) => any): Promise; computeVersionHash(): void; load(): Promise; save(): Promise; toConfigManifest(): IDataboxManifestJson; toJSON(): IDataboxManifest; private syncGeneratedManifests; private loadGeneratedManifests; private loadExplicitSettings; private addVersionHashToHistory; static createVersionHash(manifest: Pick): string; static validate(json: IDataboxManifest): void; static validateVersionHash(versionHash: string): void; private static getCustomSources; private static loadEntrypointManifest; private static loadProjectManifest; private static loadGlobalManifest; } interface IDataboxManifestJson extends Partial { __GENERATED_LAST_VERSION__: IDataboxManifest; __VERSION_HISTORY__: IVersionHistoryEntry[]; } export {};