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