import type { Role as APIRole } from 'revolt-api'; import { Base, Server, Overwrite } from './index'; export declare class Role extends Base { server: Server; name: string; color: string | null; hoist: boolean; rank: number; overwrite: Overwrite; constructor(server: Server, data: APIRole & { id: string; }); protected _patch(data: APIRole & { _id?: string; }): this; get createdAt(): Date; get createdTimestamp(): number; get permissions(): Overwrite; delete(): Promise; toString(): string; }