import { type SubscriptionRecord } from "./subscription_types.js";
export declare function getSubscriptionsForUser(userId: string): SubscriptionRecord[];
export declare function listAllSubscriptions(): SubscriptionRecord[];
export declare function rebuildSubscriptionIndex(): Promise<void>;
/** Refresh one subscription row after a write (best-effort). */
export declare function countActiveSubscriptionsForUser(userId: string): Promise<number>;
export declare function refreshSubscriptionInIndex(entityId: string): Promise<void>;
//# sourceMappingURL=subscription_index.d.ts.map