import type { Slide, SlideTheme } from '../../types/slides'; import { type FikaStylePreset } from './styles'; export declare const INHERITED_STYLE_ID = "inherited"; /** True when the deck has authored content worth inheriting from. */ export declare function deckHasAuthoredStyle(slides: Slide[]): boolean; /** * Derive a preset from the slides that already exist. Returns `undefined` * when there is too little authored content to read a style from. * * `canvasWidth` is the deck's viewport width; the returned scale is expressed * in the layout engine's 1000px reference so `buildLayoutSlide` can rescale it * for the actual canvas together with the built-in presets. */ export declare function inferStylePresetFromDeck(slides: Slide[], theme: Partial | undefined, canvasWidth: number): FikaStylePreset | undefined;