import React from "react";
import { type PopoverProps } from "../popover/index.js";
export interface LookupProps extends React.HTMLAttributes<HTMLSpanElement>, Pick<PopoverProps, "strategy"> {
    /**
     * Children, explanation popover to lookup word
     */
    children: React.ReactNode;
    /**
     * Lookup word
     */
    word: string;
    /**
     * Controlled open-state.
     *
     * Using this removes automatic control of open-state.
     */
    open?: boolean;
    /**
     * The open state when initially rendered. Use when you do not need to control the open state.
     * @default false
     */
    defaultOpen?: boolean;
    /**
     * Callback for current open-state.
     */
    onOpenChange?: (open: boolean) => void;
}
/**
 * Displays a popup with a word explanation when clicked. Used for looking up words or concepts within text.
 *
 * @see [📝 Documentation](https://aksel.nav.no/komponenter/core/lookup)
 * @see 🏷️ {@link LookupProps}
 *
 * @example
 * ```jsx
 * <Lookup word="Lookup">
 *   Lookup component
 * </Lookup>
 * ```
 */
export declare const Lookup: React.ForwardRefExoticComponent<LookupProps & React.RefAttributes<HTMLSpanElement>>;
export default Lookup;
