import { SignOptions } from './Auth'; import { ClientParams } from './Client'; import { Document, Query, Session } from './types'; export declare class Borda { params: ClientParams; get auth(): { become: (token: string, options?: Pick) => Promise; signUp: (from: { [key: string]: any; name: string; email: string; password: string; }, options?: Pick) => Promise; signOut: () => Promise; }; get socketBaseUrl(): string; constructor(options: ClientParams); query(collection: string): Readonly>; runFunction(name: string, doc?: Document, options?: { headers?: Record; }): Promise; }