// Type definitions for ui/Placeholder type Omit = Pick>; type Merge = Omit> & N; export interface PlaceholderDecoratorConfig extends Object { /** * Configures the style of the placeholder element */ style?: object; /** * The component to use as a placeholder. */ placeholderComponent?: string; } export interface PlaceholderDecoratorProps {} export function PlaceholderDecorator

( config: PlaceholderDecoratorConfig, Component: React.ComponentType

| string, ): React.ComponentType

; export function PlaceholderDecorator

( Component: React.ComponentType

| string, ): React.ComponentType

; export interface PlaceholderControllerDecoratorConfig extends Object { /** * The bounds of the container represented by an object with `height` and `width` members. * * If the container is a static size, this can be specified at design-time to avoid calculating the bounds at run-time (the default behavior). */ bounds?: object; /** * Event callback which indicates that the viewport has scrolled and placeholders should be notified. */ notify?: string; /** * Multiplier used with the wrapped component's height and width to determine the threshold for replacing the placeholder component with the true component. */ thresholdFactor?: number; } export interface PlaceholderControllerDecoratorProps {} export function PlaceholderControllerDecorator

( config: PlaceholderControllerDecoratorConfig, Component: React.ComponentType

| string, ): React.ComponentType

; export function PlaceholderControllerDecorator

( Component: React.ComponentType

| string, ): React.ComponentType

;