import { LabelPreference } from './moderation/types'; export type AtpSessionEvent = 'create' | 'create-failed' | 'update' | 'expired'; export interface AtpSessionData { refreshJwt: string; accessJwt: string; handle: string; did: string; email?: string; emailConfirmed?: boolean; } export type AtpPersistSessionHandler = (evt: AtpSessionEvent, session: AtpSessionData | undefined) => void | Promise; export interface AtpAgentOpts { service: string | URL; persistSession?: AtpPersistSessionHandler; } export interface AtpAgentCreateAccountOpts { email: string; password: string; handle: string; inviteCode?: string; } export interface AtpAgentLoginOpts { identifier: string; password: string; } type AtpAgentFetchHeaders = Record; export interface AtpAgentFetchHandlerResponse { status: number; headers: Record; body: any; } export type AtpAgentFetchHandler = (httpUri: string, httpMethod: string, httpHeaders: AtpAgentFetchHeaders, httpReqBody: any) => Promise; export interface AtpAgentGlobalOpts { fetch: AtpAgentFetchHandler; } export type BskyLabelPreference = LabelPreference | 'show'; export interface BskyFeedViewPreference { hideReplies: boolean; hideRepliesByUnfollowed: boolean; hideRepliesByLikeCount: number; hideReposts: boolean; hideQuotePosts: boolean; [key: string]: any; } export interface BskyThreadViewPreference { sort: string; prioritizeFollowedUsers: boolean; [key: string]: any; } export interface BskyPreferences { feeds: { saved?: string[]; pinned?: string[]; }; feedViewPrefs: Record; threadViewPrefs: BskyThreadViewPreference; adultContentEnabled: boolean; contentLabels: Record; birthDate: Date | undefined; } export {}; //# sourceMappingURL=types.d.ts.map