/** * SKAI SDK Error Types - Independent of ActivePieces shared types * These errors can be used in both server and piece contexts */ export declare enum SkaiErrorCode { ENTITY_NOT_FOUND = "ENTITY_NOT_FOUND", AUTHORIZATION = "AUTHORIZATION", VALIDATION = "VALIDATION" } export declare class SkaiError extends Error { readonly code: SkaiErrorCode; readonly params: { message: string; }; constructor(code: SkaiErrorCode, params: { message: string; }, message?: string); }