import { type ValidatedLicense } from '../validation/usageLicensing.ts';
interface InstallLicenseRequest {
    operation: 'install_usage_license';
    license: string;
}
export declare function installUsageLicenseOp(req: InstallLicenseRequest): Promise<string>;
export declare function installUsageLicense(license: string): Promise<void>;
interface UsageLicense extends ValidatedLicense {
    usedReads?: number;
    usedReadBytes?: number;
    usedWrites?: number;
    usedWriteBytes?: number;
    usedRealTimeMessages?: number;
    usedRealTimeBytes?: number;
    usedCpuTime?: number;
    usedStorage?: number;
}
export declare function isActiveLicense(license: UsageLicense): boolean;
export declare function getActiveLicense(): Promise<UsageLicense | undefined>;
export declare function isLicensed(): Promise<boolean>;
export declare function recordUsage(analytics: any): Promise<void>;
interface GetUsageLicenseParams {
    region?: string;
}
interface GetUsageLicensesReq extends GetUsageLicenseParams {
    operation: 'get_usage_licenses';
}
export declare function getUsageLicensesOp(req: GetUsageLicensesReq): AsyncIterable<UsageLicense>;
export declare function getUsageLicenses(params?: GetUsageLicenseParams): AsyncIterable<UsageLicense>;
export declare function loadAndWatchLicensesDir(): void;
export {};
