import type { AcUiToolbarItem } from './types'; /** One selectable drawing layout (model space or paper space). */ interface DocumentLayoutInfo { /** Display name from the layout table (e.g. `Model`, `Layout1`). */ name: string; /** Tab order used to sort the submenu. */ tabOrder: number; /** Block table record id passed to the layout manager. */ blockTableRecordId: string; /** Whether this layout is the document's current space. */ isActive: boolean; } /** * Lists layouts on the active document, including model space, sorted by tab order. * * @returns Layouts when a document is open; otherwise an empty list. */ export declare function acuiListDocumentLayouts(): DocumentLayoutInfo[]; /** * Switches the current drawing to the layout identified by `blockTableRecordId`. * * @param blockTableRecordId - Layout block table record id. */ export declare function acuiSwitchCurrentLayout(blockTableRecordId: string): void; /** * Builds submenu entries for every layout on the active document. * * @returns Menu items that switch the current layout when clicked. */ export declare function acuiCreateLayoutToolbarChildren(): AcUiToolbarItem[]; /** * Creates the default layout-switcher toolbar button. * * Children are resolved from the active document each time they are read, so the * menu stays in sync when a drawing is opened or layouts change. * * @returns Layout parent button with a popover menu (`childrenUi: 'menu'`). */ export declare function acuiCreateLayoutToolbarItem(): AcUiToolbarItem; export {}; //# sourceMappingURL=createLayoutToolbarItem.d.ts.map