import React, { ReactNode } from 'react'; import { TDate } from '@ucloud-fe/calendar'; import LOCALE from './locale/zh_CN'; export interface TShortcut { handle: () => TDate; locale?: keyof typeof LOCALE; label?: ReactNode; } declare type Mode = 'date' | 'month'; export declare const TipIcon: React.NamedExoticComponent; interface FooterProps { mode: Mode; confirmAble: boolean; onConfirm: () => void; shortcuts?: TShortcut[] | null; onShortcut: (d: TDate) => void; isError?: boolean; tip?: ReactNode; locale?: typeof LOCALE; showConfirm?: boolean; } declare const _default: React.MemoExoticComponent<({ isError, confirmAble, onConfirm, shortcuts, onShortcut, tip, showConfirm, locale: _locale }: FooterProps) => JSX.Element | null>; export default _default;