/** * Copyright (c) 2025 Elara AI Pty Ltd * Licensed under BSL 1.1. See LICENSE for details. */ /** * Result of initializing an e3 repository */ export interface InitRepositoryResult { success: boolean; repoPath: string; error?: Error; alreadyExists?: boolean; } /** * Initialize a new e3 repository * * Creates the repository directory structure: * - objects/ * - packages/ * - executions/ * - workspaces/ * * The repository IS the specified directory - subdirectories are created directly within it. * * Pure business logic - no UI dependencies */ export declare function repoInit(repoPath: string): InitRepositoryResult; /** * Find the e3 repository directory * * Checks: * 1. E3_REPO environment variable * 2. The provided startPath (if given) * * Returns null if no valid repository is found. */ export declare function repoFind(startPath?: string): string | null; /** * Get the e3 repository, throw error if not found */ export declare function repoGet(repoPath?: string): string; //# sourceMappingURL=repository.d.ts.map