import type { ReactNode } from 'react'; /** One thing to do with the fields below, and where it lives. */ export interface Mode { /** The address the mode has to itself. */ to: string; /** What the tab says, in the reader's language. */ name: string; } export declare function Desk({ modes, here, walk, label, act, width, children, }: { modes?: readonly Mode[]; /** Which mode the row is standing over. The address, so nothing here is asked * to remember it and no state can drift from the address bar. */ here?: string; /** What moving to a mode means. Absent, the tabs are left to the browser as * ordinary links. */ walk?: (to: string) => void; /** What the row of tabs is called, for a reader who cannot see it sits over a * ticket. */ label?: string; /** The one control that belongs to the row rather than to the screen — what * the current mode lets a person adjust. Drawn at the trailing edge, and * drawn only where a caller passes one. */ act?: ReactNode; /** How wide the column under the row runs. The modes share it, so the row * lines up with the card beneath and every screen agrees on where its * leading edge is. */ width?: number; /** The screen the current mode is showing. */ children?: ReactNode; }): import("react").JSX.Element; //# sourceMappingURL=desk.d.ts.map