import { ModalControl, ModalHandle } from './useModalControl'; /** @deprecated Use useModalControl instead. Will be removed in next major. */ export declare const useDesktopModalControl: () => { ref: import('react').RefObject | null>; open: (context?: TContext, snap?: string | number | "auto") => void; close: () => void; getContext: () => NonNullable | null; getChromeHeight: () => number; subscribeOpenChange: (cb: (open: boolean) => void) => () => void; isOpen: boolean; }; /** @deprecated Use useModalState instead. */ export declare const useDesktopModalState: (modalRef: React.RefObject | null>) => boolean; /** @deprecated Use ModalControl instead. */ export type DesktopModalControl = ModalControl; export type { ModalHandle as DesktopModalHandle };