import IModel from '../../core/interface/IModel'; export default class Counter implements IModel { private counterId; private limitName; private name; private userId; private count; private nextResetAt; private createdAt; private updatedAt; private revision; static getRegion(grn: string): string | null; static getOwnerId(grn: string): string | null; static getNamespaceName(grn: string): string | null; static getUserId(grn: string): string | null; static getLimitName(grn: string): string | null; static getCounterName(grn: string): string | null; static isValid(grn: string): boolean; static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, userId: string | null, limitName: string | null, counterName: string | null): string | null; getCounterId(): string | null; setCounterId(counterId: string | null): this; withCounterId(counterId: string | null): this; getLimitName(): string | null; setLimitName(limitName: string | null): this; withLimitName(limitName: string | null): this; getName(): string | null; setName(name: string | null): this; withName(name: string | null): this; getUserId(): string | null; setUserId(userId: string | null): this; withUserId(userId: string | null): this; getCount(): number | null; setCount(count: number | null): this; withCount(count: number | null): this; getNextResetAt(): number | null; setNextResetAt(nextResetAt: number | null): this; withNextResetAt(nextResetAt: number | null): this; getCreatedAt(): number | null; setCreatedAt(createdAt: number | null): this; withCreatedAt(createdAt: number | null): this; getUpdatedAt(): number | null; setUpdatedAt(updatedAt: number | null): this; withUpdatedAt(updatedAt: number | null): this; getRevision(): number | null; setRevision(revision: number | null): this; withRevision(revision: number | null): this; static fromDict(data: { [key: string]: any; }): Counter | null; toDict(): { [key: string]: any; }; }