import { JsonValueInputUnion } from '../inputs'; import { ErrorUnion, TextUnion } from '../outputs'; /** * Converts a JsonValue object to corresponding JSON-serialized string. This is an offline * method. Can be called before authorization. Can be called synchronously * @param {Object} params * @param {JsonValueInputUnion} [params.jsonValue] - The JsonValue object * @param {Object} state * @returns {TextUnion | ErrorUnion} */ export declare type GetJsonStringMethod = (params: GetJsonStringParams, state?: Record) => Promise; export interface GetJsonStringParams { /** The JsonValue object */ jsonValue?: JsonValueInputUnion; }