/**
 * Fix BigInt serialization
 * BigInts are not supported by JSON.stringify in Hermes android.
 * This is a workaround.
 * https://github.com/GoogleChromeLabs/jsbi/issues/30#issuecomment-953187833
 * https://github.com/infinitered/reactotron/issues/1436
 */
declare global {
    interface BigInt {
        toJSON(): string;
    }
}
/**
 * Serializes an object to JSON.
 *
 *  @param {any} source - The victim.
 */
declare function serialize(source: any, proxyHack?: boolean): string;
export default serialize;
