18 lines
707 B
TypeScript
18 lines
707 B
TypeScript
import { EntityDict } from "../general-app-domain";
|
|
import { AppType } from "../general-app-domain/Application/Schema";
|
|
import { BackendRuntimeContext } from "../context/BackendRuntimeContext";
|
|
import { WebEnv } from '../general-app-domain/Token/Schema';
|
|
export declare function getApplication<ED extends EntityDict, Cxt extends BackendRuntimeContext<ED>>(params: {
|
|
type: AppType;
|
|
domain: string;
|
|
}, context: Cxt): Promise<string>;
|
|
export declare function signatureJsSDK<ED extends EntityDict, Cxt extends BackendRuntimeContext<ED>>({ url, env }: {
|
|
url: string;
|
|
env: WebEnv;
|
|
}, context: Cxt): Promise<{
|
|
signature: any;
|
|
noncestr: string;
|
|
timestamp: number;
|
|
appId: string;
|
|
}>;
|