/** * IAIndexPublisher - For content publishers to register and verify content */ import { PublisherOptions, ContentEntry, IndexFile, Receipt } from './types'; export declare class IAIndexPublisher { private apiClient; private domain; private privateKey; private publicKey; private name; private contact; private entries; private initialized; constructor(options: PublisherOptions); /** * Initialize publisher profile and authenticate with API */ initialize(): Promise; /** * Initiate domain verification */ private verifyDomain; /** * Add a content entry to the index */ addEntry(entry: ContentEntry): Promise; /** * Validate content entry */ private validateEntry; /** * Create a receipt for a content entry */ private createReceipt; /** * Submit receipt to API */ private submitReceipt; /** * Generate signed index file with all entries */ generateIndex(): Promise; /** * Verify a receipt signature */ verifyReceipt(receipt: Receipt): Promise; /** * Get all entries */ getEntries(): ContentEntry[]; /** * Get public key */ getPublicKey(): string; /** * Get domain */ getDomain(): string; } //# sourceMappingURL=publisher.d.ts.map