import type { CreateOrUpdateUserResponse } from "../../types/api"; import type { TWorkspaceState } from "../../types/config"; import { type ApiErrorResponse, type Result } from "../../types/error"; export declare const makeRequest: (appUrl: string, endpoint: string, method: "GET" | "POST" | "PUT" | "DELETE", data?: unknown, isDebug?: boolean) => Promise>; export declare class ApiClient { private readonly appUrl; private readonly workspaceId; private readonly isDebug; constructor({ appUrl, workspaceId, isDebug, }: { appUrl: string; workspaceId: string; isDebug: boolean; }); createOrUpdateUser(userUpdateInput: { userId: string; attributes?: Record; }): Promise>; getWorkspaceState(): Promise>; } //# sourceMappingURL=api.d.ts.map