import { default as React } from 'react';
import { ReconnectingOverlayState, UseReconnectingOverlayStateOptions } from './use-reconnecting-overlay-state';
export { useReconnectingOverlayState, type ReconnectingOverlayState, type UseReconnectingOverlayStateOptions, } from './use-reconnecting-overlay-state';
/**
 * Props for the default ReconnectingOverlay.
 *
 * @kosService core.reconnecting-overlay
 * @kosApiLevel 23
 */
export interface ReconnectingOverlayProps extends UseReconnectingOverlayStateOptions {
    /** Override the default message ("Reconnecting…"). */
    messageText?: string;
    /**
     * Fully replace the rendered content with a custom renderer. Receives the
     * overlay state. If provided, the default layout (spinner + message) is
     * not rendered.
     */
    renderContent?: (state: ReconnectingOverlayState) => React.ReactNode;
    className?: string;
}
/**
 * Minimal, unbranded overlay that displays while the app is recovering
 * from a WebSocket disconnect (or immediately after a reload triggered by
 * ReloadOnDisconnectPolicy). Pair with that policy — or use in isolation
 * for apps that want to show the overlay without reloading.
 *
 * Apps with design-system requirements should wrap
 * `useReconnectingOverlayState` in their own component rather than relying
 * on these default styles.
 *
 * @kosService core.reconnecting-overlay
 * @kosApiLevel 23
 */
export declare const ReconnectingOverlay: React.FC<ReconnectingOverlayProps>;
//# sourceMappingURL=index.d.ts.map