/** Public subscription metadata only. Credentials never enter this contract. */
export interface Subscription {
    plan: string;
    startedAt?: string;
    renewsAt?: string;
    renewsEstimated?: boolean;
    checkedAt?: string;
}
/** Provider identifiers, not arbitrary free text or credentials. */
export declare function planName(value: unknown): string | undefined;
/**
 * A Claude login's plan from its oauthAccount profile, as Claude names it:
 * the organization type first (a Team or Enterprise seat can carry any rate
 * tier), the rate tier only for Pro and Max's 5x or 20x, then the billing
 * type and Claude Code's own `subscriptionType`. Internal tier codes
 * ("default_raven") are never shown; an unknown plan is undefined.
 */
export declare function claudePlan(profile: {
    organizationType?: unknown;
    seatTier?: unknown;
    organizationRateLimitTier?: unknown;
    userRateLimitTier?: unknown;
    billingType?: unknown;
    subscriptionType?: unknown;
}): string | undefined;
export declare function subscriptionDate(value: unknown): string | undefined;
/** Next anniversary in UTC, always using the original day (Jan 31 -> Feb 28 -> Mar 31). */
export declare function monthlyAnniversary(startedAt: string, now: Date): string | undefined;
