import * as React from 'react'; import { type DOMProps } from '../../lib/dom'; import type { AnyFunction, HasChildren } from '../../types'; import { type ScrollContextInterface } from '../AppRoot/ScrollContext'; import { type TouchProps } from '../Touch/Touch'; export interface PullToRefreshProps extends DOMProps, TouchProps, HasChildren { /** * Будет вызвана для обновления контента (прим.: функция должна быть мемоизированным обработчиком). */ onRefresh: AnyFunction; /** * Определяет, выполняется ли обновление. Для скрытия спиннера после получения контента необходимо передать `false`. */ isFetching?: boolean; /** @ignore */ scroll?: ScrollContextInterface; } /** * @see https://vkui.io/components/pull-to-refresh */ export declare const PullToRefresh: ({ children, isFetching, onRefresh, className, ...restProps }: PullToRefreshProps) => React.ReactNode; //# sourceMappingURL=PullToRefresh.d.ts.map