export interface ContentDividendOptions { baseUrl?: string; fetchImpl?: typeof fetch; } export interface PublisherInventoryOptions { query?: string; limit?: number; offset?: number; } export class ContentDividendError extends Error {} export class ContentDividend { constructor(options?: ContentDividendOptions); networkStats(): Promise; searchCatalog(query?: string, limit?: number): Promise; publishers(): Promise; publisher(siteId: string): Promise; publisherInventory(siteId: string, options?: PublisherInventoryOptions): Promise; ragSiteSummary(siteId: string): Promise; searchRagMetadata(options?: {contentFormat?: string; audience?: string; technicalDepth?: string; ragSuitability?: string; siteId?: string; limit?: number; offset?: number}): Promise; mcpEndpoint(siteId: string): Promise; mcpCall(siteId: string, method: string, params?: Record, options?: {requestId?: string|number; accessToken?: string}): Promise; verifyRights(resource: string, requestedUse: string, options?: {buyerGatewayToken?: string}): Promise; issueRightsReceipt(resource: string, requestedUse: string, buyerGatewayToken: string): Promise; verifyRightsReceipt(receipt: Record): Promise; rightsReceiptStatus(receiptId: string): Promise; licensedManifest(grantId: string, accessToken: string): Promise; licensedItem(grantId: string, entryId: string, accessToken: string): Promise; }