import { Result } from "@adviser/cement"; import { DeviceIdCA } from "@fireproof/core-device-id"; import { SuperThis } from "@fireproof/core-types-base"; import { FPApiToken, VerifiedClaimsResult } from "@fireproof/core-types-protocols-dashboard"; import { VerifyWithCertificateOptions } from "@fireproof/core-types-device-id"; export declare class ClerkApiToken implements FPApiToken { readonly sthis: SuperThis; constructor(sthis: SuperThis); readonly keysAndUrls: () => Result<{ keys: string[]; urls: string[]; }, Error>; decode(token: string): Promise>; verify(token: string): Promise>; } export declare class DeviceIdApiToken implements FPApiToken { readonly sthis: SuperThis; readonly opts: VerifyWithCertificateOptions; constructor(sthis: SuperThis, opts: VerifyWithCertificateOptions); decode(token: string): Promise>; verify(token: string): Promise>; } export declare const deviceIdCAFromEnv: (sthis: SuperThis) => Promise>; export declare const tokenApi: (sthis: SuperThis, opts: VerifyWithCertificateOptions) => Promise<{ "device-id": DeviceIdApiToken; clerk: ClerkApiToken; }>;