import { Authorization } from 'apprt/api'; interface AuthorizationOptions { name?: string; roles?: string[]; [others: string]: any; } declare class AuthorizationImpl implements Authorization { name: string | undefined; roles: string[]; [others: string]: any; constructor(params?: AuthorizationOptions); getName(): string | undefined; hasRole(name: string): boolean; getRoles(): string[]; } export { AuthorizationImpl as default }; export type { AuthorizationOptions };