import type { HttpClient, SdkResponse } from './http-transport.js'; import type { components } from './api-types.generated.js'; type Schemas = components['schemas']; export declare class AuthSvc { private http; constructor(http: HttpClient); login(body: { idToken: string; captchaToken?: string; }): Promise>; logout(): Promise>; getSession(): Promise>; connectAcp(): Promise>; disconnectAcp(): Promise>; githubCallback(body: { code: string; }): Promise>; instagramCallback(body: { code: string; }): Promise>; youtubeCallback(body: { code: string; }): Promise>; eventbriteConnect(): Promise>; eventbriteCallback(body: { code: string; }): Promise>; googleCalendarConnect(): Promise>; } export declare class OAuthSvc { private http; constructor(http: HttpClient); getMetadata(): Promise>; authorize(body: { response_type: 'code'; client_id: string; redirect_uri: string; scope?: string; state?: string; code_challenge?: string; code_challenge_method?: 'S256'; }): Promise>; token(body: Schemas['OAuthTokenRequest']): Promise>; } export declare class MemoriesSvc { private http; constructor(http: HttpClient); feed(params?: { cursor?: string; limit?: number; }): Promise>; search(body: { query: string; mode?: 'hybrid' | 'bm25' | 'semantic'; limit?: number; }): Promise>; get(memoryId: string): Promise>; getSimilar(memoryId: string, params?: { limit?: number; }): Promise>; batch(ids: string[]): Promise>; addComment(memoryId: string, body: { content: string; }): Promise>; rate(memoryId: string, rating: number): Promise>; publish(memoryId: string): Promise>; retract(memoryId: string): Promise>; delete(memoryId: string): Promise>; restore(memoryId: string): Promise>; organize(memoryId: string, body: { tags?: string[]; }): Promise>; confirm(memoryId: string): Promise>; getConversations(memoryId: string): Promise>; } export declare class ConversationsSvc { private http; constructor(http: HttpClient); list(): Promise>; create(body: { type: 'dm' | 'group'; participants?: string[]; }): Promise>; get(conversationId: string): Promise>; addMessage(conversationId: string, body: { content: string; }): Promise>; bulkImport(conversationId: string, messages: object[]): Promise>; } export declare class ProfilesSvc { private http; constructor(http: HttpClient); get(userId: string): Promise>; feed(userId: string, params?: { cursor?: string; }): Promise>; memoriesCount(userId: string): Promise>; checkUsername(username: string): Promise>; list(): Promise>; } export declare class GroupsSvc { private http; constructor(http: HttpClient); list(): Promise>; create(body: { name: string; description?: string; }): Promise>; batch(ids: string[]): Promise>; get(groupId: string): Promise>; update(groupId: string, body: { name?: string; description?: string; }): Promise>; delete(groupId: string): Promise>; listMembers(groupId: string): Promise>; addMember(groupId: string, userId: string): Promise>; removeMember(groupId: string, userId: string): Promise>; ban(groupId: string, userId: string): Promise>; unban(groupId: string, userId: string): Promise>; mute(groupId: string, userId: string): Promise>; unmute(groupId: string, userId: string): Promise>; getLinks(groupId: string): Promise>; redeemLink(code: string): Promise>; } export declare class DmsSvc { private http; constructor(http: HttpClient); list(): Promise>; create(participantId: string): Promise>; get(conversationId: string): Promise>; createLink(): Promise>; redeemLink(code: string): Promise>; } export declare class SearchSvc { private http; constructor(http: HttpClient); users(query: string): Promise>; conversations(query: string): Promise>; groups(query: string): Promise>; messages(query: string): Promise>; } export declare class NotificationsSvc { private http; constructor(http: HttpClient); list(): Promise>; get(notificationId: string): Promise>; delete(notificationId: string): Promise>; markAllRead(): Promise>; unreadCount(): Promise>; registerFcmToken(token: string): Promise>; } export declare class RelationshipsSvc { private http; constructor(http: HttpClient); list(): Promise>; create(relatedUserId: string): Promise>; } export declare class BoardsSvc { private http; constructor(http: HttpClient); list(): Promise>; create(name: string): Promise>; get(boardId: string): Promise>; update(boardId: string, body: { name?: string; }): Promise>; delete(boardId: string): Promise>; listWidgets(boardId: string): Promise>; addWidget(boardId: string, body: { type: string; config?: object; }): Promise; position?: number; }>>; } export declare class TokensSvc { private http; constructor(http: HttpClient); list(): Promise>; create(name: string): Promise>; update(tokenId: string, body: { name?: string; }): Promise>; delete(tokenId: string): Promise>; } export declare class IntegrationsSvc { private http; constructor(http: HttpClient); list(): Promise>; disconnect(provider: string): Promise>; } export declare class SettingsSvc { private http; constructor(http: HttpClient); deleteAccount(): Promise>; toggleGhost(): Promise>; updateVisibility(visibility: 'public' | 'friends' | 'private'): Promise>; acceptAiConsent(): Promise>; acceptTos(): Promise>; } export declare class PaymentsSvc { private http; constructor(http: HttpClient); createCheckout(): Promise>; getBillingPortal(): Promise>; syncSubscription(): Promise>; getSubscription(): Promise>; } export declare class UsageSvc { private http; constructor(http: HttpClient); get(): Promise>; } export declare class JobsSvc { private http; constructor(http: HttpClient); get(jobId: string): Promise>; cancel(jobId: string): Promise>; } export {}; //# sourceMappingURL=svc.d.ts.map