import { AuthenticationError, AccessDeniedError } from './error'; import { ErrorHandler, Context, RedirectStrategy } from '@malagu/web/lib/node'; import { RequestCache } from '../cache'; export declare class AuthenticationErrorHandler implements ErrorHandler { readonly priority: number; protected realm: string; protected readonly baseEnabled: boolean; protected loginPage: string; protected readonly redirectStrategy: RedirectStrategy; protected readonly requestCache: RequestCache; canHandle(ctx: Context, err: Error): Promise; handle(ctx: Context, err: AuthenticationError): Promise; } export declare class AccessDeniedErrorHandler implements ErrorHandler { readonly priority: number; canHandle(ctx: Context, err: Error): Promise; handle(ctx: Context, err: AccessDeniedError): Promise; } //# sourceMappingURL=error-handler.d.ts.map