@vansite/ts-sharetribe-flex-sdk
Version:
This is a TypeScript SDK for Sharetribe Flex API. It reduces the complexity of the API and provides a more user-friendly interface.
14 lines (13 loc) • 673 B
TypeScript
import Money from "../sdkTypes/Money";
import LatLng from "../sdkTypes/LatLng";
import LatLngBounds from "../sdkTypes/LatLngBounds";
import UUID from "../sdkTypes/UUID";
import BigDecimal from "../sdkTypes/BigDecimal";
/**
* Converts a value based on its `_sdkType` property to the appropriate SDK type.
* @param {*} value - The value to convert.
* @returns {*} The converted value or the original value if no conversion is needed.
*/
export declare function toSdkTypes(value: any): LatLng | LatLngBounds | UUID | Money | BigDecimal | any;
export declare const replacer: (key: string, value: any) => any;
export declare const reviver: (key: string, value: any) => any;