import * as plugins from '../../plugins.js'; import type { IApiTokenPolicy, IGatewayCredentialLifecycle, TApiTokenScope } from '../../../dist_ts_interfaces/data/route-management.js'; export declare class ApiTokenDoc extends plugins.smartdata.SmartDataDbDoc { id: string; name: string; tokenHash: string; scopes: TApiTokenScope[]; policy?: IApiTokenPolicy; gatewayCredentialLifecycle: IGatewayCredentialLifecycle | null; createdAt: number; expiresAt: number | null; lastUsedAt: number | null; createdBy: string; enabled: boolean; constructor(); static findById(id: string): Promise; static findByTokenHash(tokenHash: string): Promise; static findAll(): Promise; static findEnabled(): Promise; }