export declare const SCHEMATIC_ERROR_CODES: readonly ["INVALID_ARGUMENT", "VALIDATION_FAILED", "TRANSACTION_ACTIVE", "TRANSACTION_NOT_FOUND", "TRANSACTION_ROLLBACK_FAILED", "CONTEXT_UNAVAILABLE", "CAPABILITY_UNAVAILABLE", "UNSUPPORTED_RUNTIME", "ROUTE_NOT_FOUND", "ROUTE_COLLISION", "VISUAL_COLLISION", "NET_CONFLICT", "PIN_NOT_FOUND", "COMPONENT_NOT_FOUND", "MODEL_INCONSISTENT", "IMPORT_NORMALIZATION_REQUIRED", "NATIVE_API_ERROR", "CONNECTION_LOST", "TIMEOUT"]; export type SchematicErrorCode = (typeof SCHEMATIC_ERROR_CODES)[number]; export interface StructuredSchematicError { code: SchematicErrorCode; message: string; operation: string; recoverable: boolean; details: Record; suggestion: string; } export declare class SchematicEngineError extends Error { readonly error: StructuredSchematicError; constructor(error: StructuredSchematicError, options?: ErrorOptions); } export declare function schematicError(code: SchematicErrorCode, operation: string, message: string, options?: { recoverable?: boolean; details?: Record; suggestion?: string; cause?: unknown; }): SchematicEngineError; export declare function normalizeRuntimeError(error: unknown, operation: string): SchematicEngineError; export declare function toStructuredSchematicError(error: unknown, operation: string): StructuredSchematicError;