import type { LicenseStatus } from "../contracts/core.js"; import type { Profile } from "../profiles/types.js"; export declare const LICENCE_GUARD_INTERVAL_MS: number; export type SupervisorVerdict = { ok: true; reason: "valid" | "unreadable"; } | { ok: false; reason: "missing" | "signature" | "expired" | "allowance" | "refused"; }; /** حكم المشرف على محتوى ‎license.json‎ (أو ‎null‎ إن غاب). نقيّ. */ export declare function judgeLicenceFile(raw: string | null, now: Date, publicKey?: string): SupervisorVerdict; export declare class LicenceGuard { private readonly profile; private readonly log; private readonly coreStatus; private reported; private logged; constructor(profile: Profile, log: (line: string) => void, coreStatus?: (profile: Profile) => Promise); /** جولة واحدة. يعيد ما كُتب (للاختبار). لا يرمي. */ round(now?: Date): Promise<"mismatch" | "agree" | "skipped">; private write; } //# sourceMappingURL=licence-guard.d.ts.map