import { MaybeRef } from 'vue'; import { UsePresenceReturn } from '../presence/use-presence'; export interface UseSwapProps { /** * Whether the swap is in the "on" state. * @default false */ swap?: boolean; /** * Whether to enable lazy mounting. */ lazyMount?: boolean; /** * Whether to unmount on exit. */ unmountOnExit?: boolean; } export interface IndicatorProps { type: 'on' | 'off'; } export interface UseSwapReturn { /** * Whether the swap is in the "on" state. */ swap: boolean; /** * The presence instance for the "on" indicator. */ onPresence: UsePresenceReturn; /** * The presence instance for the "off" indicator. */ offPresence: UsePresenceReturn; /** * Props for the root element. */ getRootProps: () => Record; /** * Props for the indicator element. */ getIndicatorProps: (props: IndicatorProps) => Record; } export declare const useSwap: (props: MaybeRef) => UseSwapReturn;