import { ProLicense, Subscription } from "../types"; export interface LicensesController { licenses?: ProLicense[]; licenseLoading: boolean; licenseLoadingError?: Error; createLicense: (license: Partial) => Promise; updateLicense: (id: string, license: Partial) => Promise; listenSubscriptionsForLicense: (licenseId: string, onSubscriptionsUpdate: (subs: Subscription[]) => void, onError: (error: Error) => void) => () => void; } export declare function useLicensesForUserController(): LicensesController;