import { CrudeTimeSpan } from '@synnaxlabs/x';
import { PropsWithChildren, ReactElement } from 'react';
export interface ContextValue {
    delay: CrudeTimeSpan;
    startAccelerating: () => void;
}
export interface ConfigProps extends PropsWithChildren, Partial<Omit<ContextValue, "startAccelerating">> {
    accelerate?: boolean;
    acceleratedDelay?: CrudeTimeSpan;
    accelerationDelay?: CrudeTimeSpan;
}
declare const useConfig: () => ContextValue;
export { useConfig };
/**
 * Sets the default configuration for all tooltips in its children.
 *
 * @param props - The props for the tooltip config.
 * @param props.delay - The delay before the tooltip appears, in milliseconds.
 * @default 500ms.
 * @param props.accelerate - Whether to enable accelerated visibility of tooltips for a
 * short period of time after the user has hovered over a first tooltip.
 * @default true.
 * @param props.acceleratedDelay - The delay before the tooltip appears when
 * accelerated visibility is enabled.
 * @default 100 ms.
 * @param props.acceleratedDuration - The duration of accelerated visibility.
 * @default 10 seconds.
 */
export declare const Config: ({ delay, accelerate, acceleratedDelay, accelerationDelay, children, }: ConfigProps) => ReactElement;
//# sourceMappingURL=Config.d.ts.map