import { FunctionComponent, VNode } from "preact"; export declare const HydrateContext: import("preact").Context; export interface HydrationProps { displayName?: string; method?: "idle" | "visible"; fallback?: VNode | null; } export declare function withHydrate>(Component: T, hydrationProps?: HydrationProps): T;