import { CSSProperties } from 'react'; import { Presentation } from '../configProvider/presentation.types.js'; export interface Sheet { /** Whether the popup should render as a bottom sheet instead of anchored to its trigger. */ isSheet: boolean; /** * Inline style for the sheet root: keeps it above an open on-screen keyboard, and hands the CSS * the height actually left on screen as `--sheet-available-height`. */ sheetStyle: CSSProperties | undefined; } /** * Resolves whether a popup presents as a bottom sheet. * * `Auto` asks for a coarse pointer *and* a small screen: pointer alone turns a touchscreen laptop * into a phone, and width alone turns a narrow desktop window into one. */ export declare function useSheet(presentation?: Presentation): Sheet; export default useSheet;