/**
 * Viewport slice for managing preview viewport state.
 *
 * Controls the preview viewport mode, width, sidebar width, and zoom level.
 */
import type { ViewportMode, ViewportWidth, ZoomLevel } from './types';
export type ViewportState = {
    mode: ViewportMode;
    width: ViewportWidth;
    sidebarWidth: number;
    zoom: ZoomLevel;
    setMode: (mode: ViewportMode) => void;
    setWidth: (width: ViewportWidth) => void;
    setSidebarWidth: (width: number) => void;
    setZoom: (zoom: ZoomLevel) => void;
};
/**
 * Creates the viewport slice for managing preview viewport state.
 *
 * @param triggerUpdate - Callback to trigger React re-renders
 */
export declare function createViewportSlice(triggerUpdate: () => void): ViewportState;
