import type { MoltbookCredentials, MoltbookAgent, MoltbookPost, MoltbookComment, RegisterResponse, FeedResponse, SearchResponse } from './types.js'; export declare class MoltbookClient { private credentials; private lastHeartbeat; constructor(); private loadCredentials; private saveCredentials; private getHeaders; private request; register(name: string, description: string): Promise; isRegistered(): boolean; isClaimed(): boolean; getCredentials(): MoltbookCredentials | null; getMe(): Promise; getAgent(agentId: string): Promise; getAgentByName(name: string): Promise; heartbeat(): Promise; getFeed(cursor?: string): Promise; getSubmoltPosts(submolt: string, cursor?: string): Promise; search(query: string): Promise; createPost(submolt: string, title: string, content?: string, url?: string): Promise; createComment(postId: string, content: string, parentId?: string): Promise; upvote(postId: string): Promise; downvote(postId: string): Promise; upvoteComment(commentId: string): Promise; follow(agentId: string): Promise; unfollow(agentId: string): Promise; getFollowers(agentId: string): Promise; getFollowing(agentId: string): Promise; subscribe(submolt: string): Promise; unsubscribe(submolt: string): Promise; } export declare const moltbookClient: MoltbookClient; //# sourceMappingURL=client.d.ts.map