import { ApiError } from "../framework";
/**
 * Creates a {@link ApiError} with the given HTTP status and message.
 *
 * @param status - HTTP status code
 * @param message - error message
 * @returns {ApiError} API error instance
 */
export declare function createApiError(status: number, message: string): ApiError;
/**
 * Creates a 400 Bad Request error.
 *
 * @param message - custom error message
 */
export declare function apiBadRequestError(message?: string): ApiError;
/**
 * Creates a 401 Unauthorized error.
 *
 * @param message - custom error message
 */
export declare function apiUnauthorizedError(message?: string): ApiError;
/**
 * Creates a 403 Forbidden error.
 *
 * @param message - custom error message
 */
export declare function apiForbiddenError(message?: string): ApiError;
/**
 * Creates a 404 Not Found error.
 *
 * @param message - custom error message
 */
export declare function apiNotFoundError(message?: string): ApiError;
/**
 * Creates a 429 Too Many Requests error.
 *
 * @param message - error message
 */
export declare function apiTooManyRequestsError(message: string): ApiError;
/**
 * Creates a 405 Method Not Allowed error.
 *
 * @param message - error message
 */
export declare function apiMethodNotAllowedError(message: string): ApiError;
/**
 * Creates a 409 Conflict error.
 *
 * @param message - error message
 */
export declare function apiConflictError(message: string): ApiError;
/**
 * Creates a 500 Internal Server Error.
 *
 * @param message - custom error message
 */
export declare function apiInternalServerError(message?: string): ApiError;
