import { AbstractError } from "./AbstractError.js"; /** * Used when an operation was attempted that can not be completed in the current * context. */ export declare class InvalidOperationError extends AbstractError { /** * Constructs a new {@linkcode InvalidOperationError}. * @param message - The main error message. * @param status - The HTTP status code to return. */ constructor(message: string, status?: number); }