import React from 'react';
import type { AllowClearConfig } from '@rc-component/util';
export type AllowClear = boolean | AllowClearConfig | undefined;
interface UseAllowClearOptions {
    allowClear: AllowClear;
    clearIcon?: React.ReactNode;
    contextAllowClear?: AllowClear;
    contextClearIcon?: React.ReactNode;
    defaultAllowClear?: boolean;
    defaultLabel?: string;
    componentName: string;
}
export declare const useAllowClear: (options: UseAllowClearOptions) => AllowClearConfig | false;
export {};
