import { type ReactElement } from "react";
import type { AnyProps, AnyRef } from "./types.js";
export interface UseSlotProps {
    readonly ref?: AnyRef;
    readonly props?: AnyProps | AnyProps[];
    readonly slot?: ReactElement | ((...args: any) => ReactElement);
    readonly state?: any;
}
/**
 * A React hook to support slots in components.
 */
export declare function useSlot({ props, slot, state, ref: forwardedRef }: UseSlotProps): ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
