| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | * |
| 7 | * @flow |
| 8 | */ |
| 9 | |
| 10 | declare const $$$config: any; |
| 11 | |
| 12 | export opaque type ClientManifest = mixed; |
| 13 | export opaque type ClientReference<T> = mixed; // eslint-disable-line no-unused-vars |
| 14 | export opaque type ServerReference<T> = mixed; // eslint-disable-line no-unused-vars |
| 15 | export opaque type ClientReferenceMetadata: any = mixed; |
| 16 | export opaque type ServerReferenceId: any = mixed; |
| 17 | export opaque type ClientReferenceKey: any = mixed; |
| 18 | export const isClientReference = $$$config.isClientReference; |
| 19 | export const isServerReference = $$$config.isServerReference; |
| 20 | export const getClientReferenceKey = $$$config.getClientReferenceKey; |
| 21 | export const resolveClientReferenceMetadata = |
| 22 | $$$config.resolveClientReferenceMetadata; |
| 23 | export const getServerReferenceId = $$$config.getServerReferenceId; |
| 24 | export const getServerReferenceBoundArguments = |
| 25 | $$$config.getServerReferenceBoundArguments; |
| 26 | export const getServerReferenceLocation = $$$config.getServerReferenceLocation; |