/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import type { Component, ComponentClass, ForwardedRef } from 'react'; import type { PickerProps, RangePickerProps } from '.'; export interface CommonPickerMethods { focus: () => void; blur: () => void; } export interface PickerComponentClass

extends ComponentClass { new (...args: ConstructorParameters>): InstanceType> & CommonPickerMethods; } export declare type PickerRef

= ForwardedRef & CommonPickerMethods>; export declare type DatePickRef = PickerRef>; export declare type RangePickerRef = PickerRef>;