import { PresentationPointerTool, PresentationSnapshot } from 'pptx-viewer-shared'; /** Everything the strip needs to decide how a control currently reads. */ export interface PresenterStripState { snapshot: PresentationSnapshot; /** Whether the audience-display window is open (the `audience` toggle). */ audienceOpen: boolean; } /** * Whether a strip control id names an annotation tool. * * A type guard rather than a cast at the call site: the console dispatches on * the shared inventory's `string` ids, and narrowing here is what keeps * `setTool` free of an unchecked assertion. */ export declare function isPresenterPointerTool(id: string): id is PresentationPointerTool; /** * Whether a control currently reads as "on". * * Drives `aria-pressed` and the active styling for the toggles, and the * icon/label swap for the two slots whose appearance genuinely changes with * state (the timer shows a play glyph while paused, the audience toggle renames * itself once a display is open). */ export declare function presenterControlActive(id: string, state: PresenterStripState): boolean; /** * Whether a control is unavailable. * * Only "swap displays", which needs a second window to swap with; React * disables it the same way. Everything else stays live, deliberately including * Next on the last slide (see the shared `presenterNextDisabled`). */ export declare function presenterControlDisabled(id: string, state: PresenterStripState): boolean; //# sourceMappingURL=presenter-console-strip.d.ts.map