import { ReactNode } from 'react'; export type SurfaceState = { status: "ready"; } | { status: "loading"; } | { status: "empty"; reason?: string; } | { status: "unavailable"; reason?: string; title?: string; } | { status: "unsupported"; reason?: string; title?: string; } | { status: "forbidden"; reason?: string; title?: string; } | { status: "error"; error: unknown; }; export type SurfaceContentSlot = ReactNode | ((state: SurfaceState) => ReactNode); export interface SurfaceContentProps { children?: ReactNode; empty?: SurfaceContentSlot; error?: SurfaceContentSlot; forbidden?: SurfaceContentSlot; loading?: SurfaceContentSlot; state: SurfaceState; unavailable?: SurfaceContentSlot; unsupported?: SurfaceContentSlot; } export declare function SurfaceContent({ children, empty, error, forbidden, loading, state, unsupported, unavailable }: SurfaceContentProps): ReactNode;