import { JSX, ReactNode } from 'react'; export interface SSRProviderProps { /** Your application here. */ children: ReactNode; } /** * When using SSR with React Aria in React 16 or 17, applications must be wrapped in an SSRProvider. * This ensures that auto generated ids are consistent between the client and server. */ export declare function SSRProvider(props: SSRProviderProps): JSX.Element; declare function useLegacySSRSafeId(defaultId?: string): string; declare function useModernSSRSafeId(defaultId?: string): string; /** @private */ export declare const useSSRSafeId: typeof useModernSSRSafeId | typeof useLegacySSRSafeId; /** * Returns whether the component is currently being server side rendered or * hydrated on the client. Can be used to delay browser-specific rendering * until after hydration. */ export declare function useIsSSR(): boolean; export {};