import { type AxiosInstance, type AxiosRequestConfig } from "axios"; import { Collection } from "./collection"; import { Space } from "./space"; export type ClientOptions = { baseUrl: string; apiKey?: string; bearerToken?: string; }; type GraphQLOptions = { operationName?: string; query: string; variables?: Record; }; declare class Client { endpoint: AxiosInstance; constructor(options: ClientOptions); profile(): Promise<{ uid: string; email: string; first_name: string; last_name: string; dev?: boolean; superuser?: boolean; }>; graphql(data: GraphQLOptions, options?: AxiosRequestConfig): Promise; collection = Record>(name: string): Collection; get space(): Space; } export declare function client(options: ClientOptions): Client; export declare function paramsSerializer(params: Record): string; export {}; //# sourceMappingURL=client.d.ts.map