import { BaseModel } from '@/models/BaseModel'; import { AuthTokenRequest, AuthTokenCreateOptions, AuthTokenScope, AuthTokenSearchFilters, AuthTokenStatus } from '@/types/auth-token'; export declare class AuthToken extends BaseModel implements AuthTokenRequest { userId: number; offset?: number; limit?: number; constructor(data?: Partial); setUserId(userId: number): this; getUserId(): number; setOffset(offset: number): this; getOffset(): number; setLimit(limit: number): this; getLimit(): number; getApiEndpoint(): string; validate(): void; toApiFormat(): AuthTokenRequest; static isTokenExpired(expirationDate: string | null): boolean; static calculateExpirationDate(hours: number): string; static generateTokenString(length?: number): string; static validateTokenFormat(token: string): boolean; static parseTokenExpiration(token: string): Date | null; static hasScope(tokenScopes: AuthTokenScope[], requiredScope: AuthTokenScope): boolean; static validateScopes(scopes: AuthTokenScope[]): boolean; static forUser(userId: number): AuthToken; static forListing(filters?: AuthTokenSearchFilters, offset?: number, limit?: number): AuthToken; static createWithOptions(userId: number, options?: Partial): AuthToken; static getStatusFromExpiration(expirationDate: string | null, isRevoked?: boolean): AuthTokenStatus; static formatExpirationDate(expirationDate: string | null, locale?: string): string; static getScopeDisplayNames(): Record; static getScopeDescriptions(): Record; } //# sourceMappingURL=AuthToken.d.ts.map