import type { FilesystemDB } from '../../filesystem-db.js'; import type { StorageWorkspaceType, StorageCreateWorkspaceInput, StorageUpdateWorkspaceInput, StorageListWorkspacesInput, StorageListWorkspacesOutput } from '../../types.js'; import type { WorkspaceVersion, CreateWorkspaceVersionInput, ListWorkspaceVersionsInput, ListWorkspaceVersionsOutput } from './base.js'; import { WorkspacesStorage } from './base.js'; export declare class FilesystemWorkspacesStorage extends WorkspacesStorage { private helpers; constructor({ db }: { db: FilesystemDB; }); init(): Promise; dangerouslyClearAll(): Promise; getById(id: string): Promise; create(input: { workspace: StorageCreateWorkspaceInput; }): Promise; update(input: StorageUpdateWorkspaceInput): Promise; delete(id: string): Promise; list(args?: StorageListWorkspacesInput): Promise; createVersion(input: CreateWorkspaceVersionInput): Promise; getVersion(id: string): Promise; getVersionByNumber(workspaceId: string, versionNumber: number): Promise; getLatestVersion(workspaceId: string): Promise; listVersions(input: ListWorkspaceVersionsInput): Promise; deleteVersion(id: string): Promise; deleteVersionsByParentId(entityId: string): Promise; countVersions(workspaceId: string): Promise; } //# sourceMappingURL=filesystem.d.ts.map