SVConfig.d.ts
777 Bytes
import { DeepReadonly } from "simba-utils";
import { SVConfigItem, SVPoint, SDKConfigType } from "./SDKTypes";
export declare function setNoRewaredAd(): void;
export declare function initShareConfig(SDKConfig: Readonly<SDKConfigType>): Promise<unknown>;
export declare function initShareConfigV2(gId: string, url: string): Promise<unknown>;
export declare function getSVConfigById(svPointId: string): DeepReadonly<SVConfigItem> | undefined;
export declare function getShareContent(svPointId: string): DeepReadonly<{
title: {
id: string;
value: string;
};
imageUrl: {
id: string;
value: string;
urlId?: string;
};
}>;
export declare function getSVPointById(svPointId: string, forceShare?: boolean): DeepReadonly<SVPoint>;