import { Service } from "root-ts"; import Account = Type.Account.AccountService.Account; import { MongodbService } from "root-ts"; import { RouteDecorator } from "root-ts"; import { AccountService } from "./accountService"; export declare class RoleService extends Service { readonly dependencies: string[]; readonly name = "RoleService"; services: { AccountService: AccountService; MongodbService: MongodbService; }; constructor(settings: { role: { root: string; public: string; user: string; supports: string[]; }; }); account: AccountService; initialize(): void; setAccountRole(option: { accountId: string; role: string; }, callback: Callback): void; getPublic(): any; getDefaultUserRole(): any; isRoot(account: Account): boolean; withRole(name: string): RouteDecorator; }