import { RegistrySDKConfig, RegistrySDK, BlogPermission, WalletPermission, RegistryStats } from '../types'; export declare class InkwellRegistrySDK implements RegistrySDK { private aoconnect; private registryProcessId; private logger; constructor(config?: RegistrySDKConfig); /** * Note: Write operations (register, remove, update) are only available to blog processes * for security reasons. The registry uses msg.From as the blog ID to ensure only * the actual blog process can modify its own permissions. */ /** * Get all blogs a wallet has permissions for */ getWalletBlogs(wallet: string): Promise; /** * Get all wallets with permissions for a specific blog */ getBlogWallets(blogId: string): Promise; /** * Check if a wallet has a specific role for a blog */ checkWalletRole(wallet: string, blogId: string, role: string): Promise; /** * Get registry statistics */ getRegistryStats(): Promise; /** * Note: Bulk operations and sync operations are only available to blog processes * for security reasons. The registry uses msg.From as the blog ID to ensure only * the actual blog process can modify its own permissions. */ /** * Get all blogs that a wallet can admin */ getAdminBlogs(wallet: string): Promise; /** * Get all blogs that a wallet can edit */ getEditableBlogs(wallet: string): Promise; /** * Check if a wallet can admin a specific blog */ canAdminBlog(wallet: string, blogId: string): Promise; /** * Check if a wallet can edit a specific blog */ canEditBlog(wallet: string, blogId: string): Promise; } //# sourceMappingURL=registry-sdk.d.ts.map