import { default as React } from 'react';
export interface AsChildSlotHandle {
    /** Click the child’s DOM node */
    click: () => void;
}
export interface AsChildSlotProps {
    /** Pass one element/component that we will map to a DOM element (<a>, <button>, React Router <Link>) */
    children?: React.ReactNode;
    /** Class names to apply to the visible element */
    className?: string;
    /** Content to render inside the visible element - For example the text and icons of the parent component that renders AsChildSlot */
    content?: React.ReactNode;
    /** Disabled state passed down (merged with child’s disabled/aria-disabled) */
    disabled?: boolean;
    /** Called before the child’s onClick when visible */
    onSelect?: (e: React.SyntheticEvent) => void;
    /** Optional states to apply to the DOM element */
    ariaCurrent?: 'page' | 'true';
    /** DOM ref for the element we end up rendering */
    elementRef?: React.Ref<HTMLElement>;
    /** Ref that is passed to the component */
    ref?: React.Ref<AsChildSlotHandle>;
}
export declare const AsChildSlot: React.FC<AsChildSlotProps>;
export default AsChildSlot;
