1 | import * as React from 'react';
|
2 | export declare function getDataFromTree(tree: React.ReactNode, context?: {
|
3 | [key: string]: any;
|
4 | }): Promise<string>;
|
5 | export declare type GetMarkupFromTreeOptions = {
|
6 | tree: React.ReactNode;
|
7 | context?: {
|
8 | [key: string]: any;
|
9 | };
|
10 | renderFunction?: (tree: React.ReactElement<any>) => string | PromiseLike<string>;
|
11 | };
|
12 | export declare function getMarkupFromTree({ tree, context, renderFunction }: GetMarkupFromTreeOptions): Promise<string>;
|
13 |
|
\ | No newline at end of file |