import ms from "ms"; import { SecurityConfigService } from "../config"; import type { CreateTokenData, TokenPayload } from "./token.types"; export declare class TokenService { private readonly securityConfigService; private readonly logger; constructor(securityConfigService: SecurityConfigService); create(data: CreateTokenData): string; check(token: string): boolean; parse(token: string): TokenPayload; extractUserId(token: string): string | null; extractUsername(token: string): string | null; refresh(token: string, expiresIn?: ms.StringValue): string; }