import { DBLiveErrorResult } from "../common/error.result"; export declare class DBLiveAPI { private readonly appKey; private cookie?; private readonly logger; private readonly request; private url; constructor(appKey: string); init(): Promise; set(key: string, value: string, options: DBLiveAPISetOptions): Promise; private post; private put; } declare type DBLiveAPIInitResult = { apiDomain: string; contentDomain: string; setEnv?: "api" | "socket"; socketDomains: string[]; }; declare type DBLiveSetResult = { etag?: string; success: boolean; versionId?: string; }; export declare type DBLiveAPISetOptions = { contentType: string; customArgs?: Record; lockId: string; }; export {};