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