/** * Copyright (c) 2025 Elara AI Pty Ltd * Licensed under BSL 1.1. See LICENSE for details. */ import type { ExecutionStatus, DataflowRun } from '@elaraai/e3-types'; import type { RefStore } from '../interfaces.js'; /** * Local filesystem implementation of RefStore. * * The `repo` parameter is the path to the e3 repository directory. */ export declare class LocalRefStore implements RefStore { packageList(repo: string): Promise<{ name: string; version: string; }[]>; packageResolve(repo: string, name: string, version: string): Promise; packageWrite(repo: string, name: string, version: string, hash: string): Promise; packageRemove(repo: string, name: string, version: string): Promise; workspaceList(repo: string): Promise; workspaceRead(repo: string, name: string): Promise; workspaceWrite(repo: string, name: string, state: Uint8Array): Promise; workspaceRemove(repo: string, name: string): Promise; /** * Path to execution directory: executions//// */ private executionDir; /** * Path to inputs directory: executions/// */ private inputsDir; executionGet(repo: string, taskHash: string, inputsHash: string, executionId: string): Promise; executionWrite(repo: string, taskHash: string, inputsHash: string, executionId: string, status: ExecutionStatus): Promise; executionListIds(repo: string, taskHash: string, inputsHash: string): Promise; executionGetLatest(repo: string, taskHash: string, inputsHash: string): Promise; executionGetLatestOutput(repo: string, taskHash: string, inputsHash: string): Promise; executionList(repo: string): Promise<{ taskHash: string; inputsHash: string; }[]>; executionListForTask(repo: string, taskHash: string): Promise; executionListLatest(repo: string, taskHash: string): Promise>; private dataflowDir; private dataflowRunPath; dataflowRunGet(repo: string, workspace: string, runId: string): Promise; dataflowRunWrite(repo: string, workspace: string, run: DataflowRun): Promise; dataflowRunList(repo: string, workspace: string): Promise; dataflowRunGetLatest(repo: string, workspace: string): Promise; dataflowRunDelete(repo: string, workspace: string, runId: string): Promise; } //# sourceMappingURL=LocalRefStore.d.ts.map