/** * SlideOverDrawer * * A panel that enters from the right over the editor, for work that needs more * room than the fields rail and more focus than a popover. It closes on Escape, * on the scrim, and on its own close control, and returns focus to whatever * opened it. Focus is not contained: Tab reaches the editor behind it. * * It renders into the document body, so a drawer opened from the toolbar is not * clipped by it. */ import React from 'react'; export interface SlideOverDrawerProps { open: boolean; onClose: () => void; /** Names the drawer to a screen reader, since the title is styled text. */ ariaLabel: string; /** Short kicker above the title, naming the kind of thing this is. */ eyebrow?: React.ReactNode; title: React.ReactNode; /** A line under the title for the particulars: versions, counts, status. */ meta?: React.ReactNode; footer?: React.ReactNode; children: React.ReactNode; testId?: string; } export declare function SlideOverDrawer({ open, onClose, ariaLabel, eyebrow, title, meta, footer, children, testId, }: SlideOverDrawerProps): React.ReactElement | null;