import type { LicenseState } from "./licenseState.js"; export type LicenseMode = "strict" | "eval"; export interface LicenseRuntimeConfig { jwksUrl: string; expectedIss: string; expectedAud: string; jwksMaxAgeSeconds?: number; mode?: LicenseMode; } type Listener = (state: LicenseState) => void; export declare class LicenseRuntime { private config; private token; private state; private listeners; private verifying; constructor(config: LicenseRuntimeConfig); getState(): LicenseState; onChange(listener: Listener): () => void; private notify; setToken(token: string | null): Promise; verifyNow(): Promise; hasFeature(feature: string): boolean; requireFeature(feature: string): void; } export {}; //# sourceMappingURL=runtime.d.ts.map