1 | import { FunctionComponent, VNode } from "preact";
|
2 | export declare const HydrateContext: import("preact").Context<string | false>;
|
3 | export interface HydrationProps {
|
4 | displayName?: string;
|
5 | method?: "idle" | "visible";
|
6 | fallback?: VNode<any> | null;
|
7 | }
|
8 | export declare function withHydrate<T extends FunctionComponent<any>>(Component: T, hydrationProps?: HydrationProps): T;
|