import React from 'react';
import type { BaseInputProps } from '@rc-component/input/lib/interface';
export type AllowClear = BaseInputProps['allowClear'];
interface UseAllowClearOptions {
    allowClear: AllowClear;
    clearIcon?: React.ReactNode;
    contextAllowClear?: AllowClear;
    contextClearIcon?: React.ReactNode;
    defaultAllowClear?: boolean;
    componentName: string;
}
export declare const useAllowClear: (options: UseAllowClearOptions) => AllowClear;
export {};
