/**
 * Custom Error Classes
 *
 * Provides actionable error messages that help users understand
 * what went wrong and how to fix it.
 */
/**
 * Base class for ShieldCortex errors
 */
export declare class MemoryError extends Error {
    readonly code: string;
    readonly suggestion: string;
    constructor(message: string, code: string, suggestion: string);
    toUserMessage(): string;
}
/**
 * Database blocked due to size limits
 */
export declare class DatabaseBlockedError extends MemoryError {
    constructor(currentSize: string);
}
/**
 * Database size warning (approaching limit)
 */
export declare class DatabaseSizeWarning extends MemoryError {
    constructor(currentSize: string);
}
/**
 * Memory not found
 */
export declare class MemoryNotFoundError extends MemoryError {
    constructor(id: number);
}
/**
 * Invalid search query
 */
export declare class InvalidQueryError extends MemoryError {
    constructor(query: string, reason: string);
}
/**
 * Content too large
 */
export declare class ContentTooLargeError extends MemoryError {
    constructor(contentSize: number, maxSize: number);
}
/**
 * Bulk delete safety guard
 */
export declare class BulkDeleteSafetyError extends MemoryError {
    constructor(count: number);
}
/**
 * Database not initialized
 */
export declare class DatabaseNotInitializedError extends MemoryError {
    constructor();
}
/**
 * Session not found
 */
export declare class SessionNotFoundError extends MemoryError {
    constructor(sessionId: number);
}
/**
 * Invalid memory relationship
 */
export declare class InvalidRelationshipError extends MemoryError {
    constructor(sourceId: number, targetId: number, reason: string);
}
/**
 * Format error for MCP tool output
 */
export declare function formatErrorForMcp(error: unknown): string;
