import type { PopoverStoreFunctions, PopoverStoreOptions, PopoverStoreState } from "../popover/popover-store.js";
import type { Store, StoreOptions, StoreProps } from "../utils/store.js";
import type { SetState } from "../utils/types.js";
/**
 * Creates a hovercard store.
 */
export declare function createHovercardStore(props?: HovercardStoreProps): HovercardStore;
export interface HovercardStoreState extends PopoverStoreState {
    /**
     * @default "bottom"
     */
    placement: PopoverStoreState["placement"];
    /**
     * The amount of time in milliseconds to wait before showing and hiding the
     * popover. To control the delay for showing and hiding separately, use
     * `showTimeout` and `hideTimeout`.
     * @default 500
     */
    timeout: number;
    /**
     * The amount of time in milliseconds to wait before **showing** the popover.
     * It defaults to the value passed to `timeout`.
     */
    showTimeout?: number;
    /**
     * The amount of time in milliseconds to wait before **hiding** the popover.
     * It defaults to the value passed to `timeout`.
     */
    hideTimeout?: number;
    /**
     * Whether the popover or an element inside it should be focused when it is
     * shown.
     * @default false
     */
    autoFocusOnShow: boolean;
}
export interface HovercardStoreFunctions extends PopoverStoreFunctions {
    /**
     * Sets the `autoFocusOnShow` state.
     */
    setAutoFocusOnShow: SetState<HovercardStoreState["autoFocusOnShow"]>;
}
export interface HovercardStoreOptions extends StoreOptions<HovercardStoreState, "placement" | "timeout" | "showTimeout" | "hideTimeout">, PopoverStoreOptions {
}
export type HovercardStoreProps = HovercardStoreOptions & StoreProps<HovercardStoreState>;
export type HovercardStore = HovercardStoreFunctions & Store<HovercardStoreState>;
