import { IWorkbenchLayoutService } from "../../../../workbench/services/layout/browser/layoutService.service.js"; /** * Returns true when the sessions workbench currently has the phone * layout class on its main container. * * Mobile Part subclasses are chosen once at construction time, but the * viewport class can change at runtime (e.g., device rotation crossing * the phone breakpoint). Parts use this to decide whether to apply * mobile-specific layout math or defer to the desktop implementation. * * Both this helper and the {@link IsPhoneLayoutContext} context key * read from the same upstream signal (the layout policy's * `viewportClass` observable). Use this helper for synchronous one-shot * reads (e.g., inside a `layout()` pass or a `showPicker()` handler); * use `IsPhoneLayoutContext` when you need a reactive change * notification (`onDidChangeContext` / `when:` clauses). */ export declare function isPhoneLayout(layoutService: IWorkbenchLayoutService): boolean;