/**
 * 14-day Pro trial — auto-granted on first install, no signup required.
 *
 * Trial state is stored in ~/.shieldcortex/trial.json.
 * It is NEVER reset on reinstall (file persists across npm updates).
 * An active paid license always takes priority over the trial.
 */
export interface TrialFile {
    startedAt: string;
    durationDays: number;
    acknowledged: boolean;
}
export interface TrialStatus {
    active: boolean;
    daysRemaining: number;
    startedAt: string;
    expiresAt: string;
    justCreated: boolean;
}
/** Clear the in-memory trial cache (useful for testing). */
export declare function clearTrialCache(): void;
/**
 * Read (and lazily create) the trial state.
 *
 * - If `trial.json` already exists: read and return its status.
 * - If `trial.json` does NOT exist AND `license.json` does NOT exist: create it now (first install).
 * - If `trial.json` does NOT exist AND `license.json` DOES exist: don't create — user already has a paid license.
 * - Returns null if no trial applies.
 *
 * Pass `licenseFileExists` to avoid a second disk read inside store.ts.
 */
export declare function getTrialStatus(licenseFileExists: boolean): TrialStatus | null;
/**
 * Whether a trial is currently active (Pro features unlocked by trial).
 * Only returns true when no paid license is in effect — callers should
 * check the license first and only fall back to this.
 */
export declare function isTrialActive(licenseFileExists: boolean): boolean;
/**
 * Days remaining in the trial (0 if expired or no trial).
 */
export declare function getTrialDaysRemaining(licenseFileExists: boolean): number;
/**
 * Mark the welcome message as acknowledged (suppress on subsequent runs).
 */
export declare function acknowledgeTrialWelcome(): void;
/** Exposed for tests — returns the full trial file path */
export declare function getTrialFilePath(): string;
