import { AtpAgent } from './agent'; import { AppBskyFeedPost, AppBskyActorProfile } from './client'; import { BskyPreferences, BskyLabelPreference, BskyFeedViewPreference, BskyThreadViewPreference } from './types'; declare global { interface Array { findLast(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T; } } export declare class BskyAgent extends AtpAgent { get app(): import("./client").AppNS; getTimeline: typeof this.api.app.bsky.feed.getTimeline; getAuthorFeed: typeof this.api.app.bsky.feed.getAuthorFeed; getActorLikes: typeof this.api.app.bsky.feed.getActorLikes; getTopMinters: typeof this.api.app.bsky.splx.getTopMinters; getCollectible: typeof this.api.app.bsky.splx.getCollectible; getCollectibles: typeof this.api.app.bsky.splx.getCollectibles; getPostThread: typeof this.api.app.bsky.feed.getPostThread; getPost: typeof this.api.app.bsky.feed.post.get; getPosts: typeof this.api.app.bsky.feed.getPosts; getLikes: typeof this.api.app.bsky.feed.getLikes; getRepostedBy: typeof this.api.app.bsky.feed.getRepostedBy; getFollows: typeof this.api.app.bsky.graph.getFollows; getFollowers: typeof this.api.app.bsky.graph.getFollowers; getProfile: typeof this.api.app.bsky.actor.getProfile; getProfiles: typeof this.api.app.bsky.actor.getProfiles; getSuggestions: typeof this.api.app.bsky.actor.getSuggestions; getRewardClaim: typeof this.api.app.bsky.splx.getRewardClaim; searchActors: typeof this.api.app.bsky.actor.searchActors; searchActorsTypeahead: typeof this.api.app.bsky.actor.searchActorsTypeahead; listNotifications: typeof this.api.app.bsky.notification.listNotifications; countUnreadNotifications: typeof this.api.app.bsky.notification.getUnreadCount; post(record: Partial & Omit): Promise<{ uri: string; cid: string; }>; submitPaidNftTransaction: typeof this.api.app.bsky.splx.createPayment; createPaidNftTransaction: typeof this.api.app.bsky.splx.requestTransaction; createPaymentCollection: typeof this.api.app.bsky.splx.createPaymentCollection; createCollection: typeof this.api.app.bsky.splx.createCollectible; getFrameMeta: typeof this.api.app.bsky.splx.getFrameMeta; postFrameActionProperty: typeof this.api.app.bsky.splx.postFrameAction; deletePost(postUri: string): Promise; like(uri: string, cid: string): Promise<{ uri: string; cid: string; }>; deleteLike(likeUri: string): Promise; repost(uri: string, cid: string): Promise<{ uri: string; cid: string; }>; deleteRepost(repostUri: string): Promise; follow(subjectDid: string): Promise<{ uri: string; cid: string; }>; deleteFollow(followUri: string): Promise; upsertProfile(updateFn: (existing: AppBskyActorProfile.Record | undefined) => AppBskyActorProfile.Record | Promise): Promise; mute(actor: string): Promise; unmute(actor: string): Promise; updateSeenNotifications(seenAt?: string): Promise; getPreferences(): Promise; setSavedFeeds(saved: string[], pinned: string[]): Promise<{ saved: string[]; pinned: string[]; }>; addSavedFeed(v: string): Promise<{ saved: string[]; pinned: string[]; }>; removeSavedFeed(v: string): Promise<{ saved: string[]; pinned: string[]; }>; addPinnedFeed(v: string): Promise<{ saved: string[]; pinned: string[]; }>; removePinnedFeed(v: string): Promise<{ saved: string[]; pinned: string[]; }>; setAdultContentEnabled(v: boolean): Promise; setContentLabelPref(key: string, value: BskyLabelPreference): Promise; setPersonalDetails({ birthDate, }: { birthDate: string | Date | undefined; }): Promise; setFeedViewPrefs(feed: string, pref: Partial): Promise; setThreadViewPrefs(pref: Partial): Promise; createClaim(collectibleCid: string, did: string, wallet: string, collectibleUri: string, postSubject?: { uri: string; cid: string; }): Promise; postFrameAction(params: any): Promise; } //# sourceMappingURL=bsky-agent.d.ts.map