export type UiStoreErrorCode = "invalid_path" | "path_not_directory" | "path_not_found" | "project_exists" | "not_found" | "invalid_request" | "internal";
export declare class UiStoreError extends Error {
    readonly code: UiStoreErrorCode;
    readonly status: number;
    constructor(code: UiStoreErrorCode, message: string, status: number);
}
export declare function invalidPath(message: string): UiStoreError;
export declare function pathNotDirectory(): UiStoreError;
export declare function pathNotFound(): UiStoreError;
export declare function notFound(entity: string): UiStoreError;
export declare function invalidRequest(message: string): UiStoreError;
export declare function projectExists(): UiStoreError;
//# sourceMappingURL=errors.d.ts.map