import * as React from 'react'; import type { HasComponent, HTMLAttributesWithRootRef } from '../../types'; export interface PlaceholderContainerProps extends Omit, 'title'> { /** * Растягивает плейсхолдер на весь экран, но в таком случае на экране должен быть только плейсхолдер. */ stretched?: boolean; /** * Убирает отступы у компонента. */ noPadding?: boolean; } declare const PlaceholderContainer: ({ stretched, noPadding, ...restProps }: PlaceholderContainerProps) => React.ReactNode; export type PlaceholderIconProps = HTMLAttributesWithRootRef; declare const PlaceholderIcon: (props: PlaceholderIconProps) => React.ReactNode; export type PlaceholderTitleProps = HTMLAttributesWithRootRef & HasComponent; declare const PlaceholderTitle: ({ className, ...restProps }: PlaceholderTitleProps) => React.ReactNode; export type PlaceholderDescriptionProps = HTMLAttributesWithRootRef & HasComponent; declare const PlaceholderDescription: ({ className, ...restProps }: PlaceholderDescriptionProps) => React.ReactNode; export type PlaceholderActionsProps = HTMLAttributesWithRootRef; declare const PlaceholderActions: (props: PlaceholderActionsProps) => React.ReactNode; export interface PlaceholderProps extends PlaceholderContainerProps { /** * Иконка. */ icon?: React.ReactNode; /** * Заголовок плейсхолдера. */ title?: React.ReactNode; /** * Кнопка действия. */ action?: React.ReactNode; } /** * @see https://vkui.io/components/placeholder */ export declare const Placeholder: React.FC & { Container: typeof PlaceholderContainer; Icon: typeof PlaceholderIcon; Title: typeof PlaceholderTitle; Description: typeof PlaceholderDescription; Actions: typeof PlaceholderActions; }; export {}; //# sourceMappingURL=Placeholder.d.ts.map