import type { Experience, ExperienceDraft, FeedbackImpact, FeedbackOutcome, RelioraConfig } from "./domain.js"; export interface FeedbackInput { outcome: FeedbackOutcome; impact?: FeedbackImpact | null; notes?: string | null; } export interface Workspace { root: string; dataDirectory: string; experiencesDirectory: string; config: RelioraConfig; } export interface ExperienceLoadWarning { code: "INVALID_EXPERIENCE"; file: string; message: string; } export interface ExperienceLibrary { experiences: Experience[]; warnings: ExperienceLoadWarning[]; } export declare function initializeWorkspace(root?: string): Promise; export declare function findWorkspace(start?: string): Promise; export declare function recordExperience(workspace: Workspace, draft: ExperienceDraft): Promise; export declare function getExperience(workspace: Workspace, id: string): Promise; export declare function loadExperienceLibrary(workspace: Workspace): Promise; export declare function listExperiences(workspace: Workspace): Promise; export declare function recordFeedback(workspace: Workspace, id: string, input: boolean | FeedbackInput): Promise; //# sourceMappingURL=workspace.d.ts.map