import { type RefObject } from 'react'; import type { PdfAnnotationControllerState } from './pdf-annotation-controller'; import type { PdfEditorCanCommands, PdfEditorCommands } from './pdf-editor-extensions'; import type { PdfViewerControllerState } from './pdf-viewer-controller'; export type PdfSaveState = 'idle' | 'saving' | 'saved' | 'error'; interface PdfPageNavigationControl { controlsId: string; expanded: boolean; onOpen: () => void; toggleRef: RefObject; } export declare function PdfToolbar({ annotationState, can, commands, editable, pageOrganizationAvailable, pageNavigation, saveAvailable, saveLabel, saveState, searchInputRef, state, }: { annotationState: PdfAnnotationControllerState; can: PdfEditorCanCommands; commands: PdfEditorCommands; editable: boolean; pageOrganizationAvailable?: boolean; pageNavigation?: PdfPageNavigationControl; saveAvailable?: boolean; saveLabel: string; saveState: PdfSaveState; searchInputRef: RefObject; state: PdfViewerControllerState; }): import("react").JSX.Element; export {};