export {}; /** * @extends Error */ declare class ExtendableError extends Error { errors: any; status: any; isPublic: any; isOperational: any; constructor({ message, errors, status, isPublic, stack }: any); } /** * Class representing an API error. * @extends ExtendableError */ export declare class APIError extends ExtendableError { /** * Creates an API error. * @param {string} message - Error message. * @param {number} status - HTTP status code of error. * @param {boolean} isPublic - Whether the message should be visible to user or not. */ constructor({ message, errors, stack, status, isPublic }: any); }