import { AppKitError } from "./base.js";

//#region src/errors/configuration.d.ts

/**
 * Error thrown when configuration is missing or invalid.
 * Use for missing environment variables, invalid settings, or setup issues.
 *
 * @example
 * ```typescript
 * throw new ConfigurationError("DATABRICKS_HOST environment variable is required");
 * throw new ConfigurationError("Warehouse ID not found", { context: { env: "production" } });
 * ```
 */
declare class ConfigurationError extends AppKitError {
  readonly code = "CONFIGURATION_ERROR";
  readonly statusCode = 500;
  readonly isRetryable = false;
  /**
   * Create a configuration error for missing environment variable
   */
  static missingEnvVar(varName: string): ConfigurationError;
  /**
   * Create a configuration error for missing resource
   */
  static resourceNotFound(resource: string, hint?: string): ConfigurationError;
  /**
   * Create a configuration error for invalid connection config
   */
  static invalidConnection(service: string, details?: string): ConfigurationError;
  /**
   * Create a configuration error for missing connection string parameter
   */
  static missingConnectionParam(param: string): ConfigurationError;
}
//#endregion
export { ConfigurationError };
//# sourceMappingURL=configuration.d.ts.map