You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
552 B
13 lines
552 B
import type * as ReactTypes from "react"; |
|
export declare function getDataFromTree(tree: ReactTypes.ReactNode, context?: { |
|
[key: string]: any; |
|
}): Promise<string>; |
|
export type GetMarkupFromTreeOptions = { |
|
tree: ReactTypes.ReactNode; |
|
context?: { |
|
[key: string]: any; |
|
}; |
|
renderFunction?: (tree: ReactTypes.ReactElement<any>) => string | PromiseLike<string>; |
|
}; |
|
export declare function getMarkupFromTree({ tree, context, renderFunction, }: GetMarkupFromTreeOptions): Promise<string>; |
|
//# sourceMappingURL=getDataFromTree.d.ts.map
|