import React from 'react'; import { TdSwipeCellProps, SwipeActionItem, SwipeCellInstanceFunctions, SwipeSource } from './type'; import { StyledProps, TNode } from '../common'; import './style'; export interface SwipeCellRef extends SwipeCellInstanceFunctions { expand: (side?: SwipeSource, immediate?: boolean) => void; close: (immediate?: boolean) => void; showSure: (sure: string | TNode, onClick?: SwipeActionItem['onClick']) => void; } export interface SwipeCellProps extends TdSwipeCellProps, StyledProps { } export declare const syncOpenedState: (rootRef: React.RefObject, opened: SwipeCellProps["opened"], getOpenedSide: (opened: SwipeCellProps["opened"]) => SwipeSource | undefined, expand: (side: SwipeSource) => void, close: () => void, setTimer: (callback: () => void, delay: number) => void) => void; declare const SwipeCell: React.ForwardRefExoticComponent>; export default SwipeCell;