/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 */
import { ReactNode } from 'react';
/**
 * Recursively walks through all children of a React element and returns
 * the string representation of the leafs concatenated.
 */
export declare function textContent(node: ReactNode): string;
//# sourceMappingURL=textContent.d.ts.map