import { APIError } from 'payload'; /** Class which extends Payload's APIError and ensures that the error is shown in the admin panel. */ export declare class AdminPanelError extends APIError { constructor(message: string, statusCode?: number); }