import { InjectionKey, PropType, Ref, DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { NullableDateType, RangeValue } from './interface';
export interface RangeContextProps {
    /**
     * Set displayed range value style.
     * Panel only has one value, this is only style effect.
     */
    rangedValue?: Ref<[NullableDateType<any>, NullableDateType<any>] | null>;
    hoverRangedValue?: Ref<RangeValue<any>>;
    inRange?: Ref<boolean>;
    panelPosition?: Ref<'left' | 'right' | false>;
}
interface RangeContextProviderValue {
    /**
     * Set displayed range value style.
     * Panel only has one value, this is only style effect.
     */
    rangedValue?: [NullableDateType<any>, NullableDateType<any>] | null;
    hoverRangedValue?: RangeValue<any>;
    inRange?: boolean;
    panelPosition?: 'left' | 'right' | false;
}
declare const RangeContextKey: InjectionKey<RangeContextProps>;
export declare const useProvideRange: (props: RangeContextProps) => void;
export declare const useInjectRange: () => RangeContextProps;
export declare const RangeContextProvider: DefineComponent<ExtractPropTypes<{
    value: {
        type: PropType<RangeContextProviderValue>;
        default: () => RangeContextProviderValue;
    };
}>, () => VNode<RendererNode, RendererElement, {
    [key: string]: any;
}>[] | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
    value: {
        type: PropType<RangeContextProviderValue>;
        default: () => RangeContextProviderValue;
    };
}>> & Readonly<{}>, {
    value: RangeContextProviderValue;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
export default RangeContextKey;
