import { ParsedTableStyleMap, PptxThemeColorScheme, PptxThemeFontScheme } from 'pptx-viewer-core'; import { CanvasSize, TableStyleContext } from 'pptx-viewer-shared'; export interface RenderContextSource { getColorScheme: () => PptxThemeColorScheme | undefined; getTableStyleMap: () => ParsedTableStyleMap | undefined; /** Theme font scheme, so band/header cell text can resolve major/minor fonts. */ getFontScheme?: () => PptxThemeFontScheme | undefined; /** Deck canvas size, so template insertion can target the real slide surface. */ getCanvasSize?: () => CanvasSize | undefined; } export declare function provideRenderContext(source: RenderContextSource): void; /** * The raw render-context source, for chrome that needs the deck's colour * scheme or canvas size outside a table (e.g. the Slide Templates gallery). * Must be called during component init; invoke the getters lazily so reads * stay live against the loader's runes state. */ export declare function getRenderContextSource(): RenderContextSource | undefined; export declare function useTableStyleContext(): TableStyleContext | undefined; //# sourceMappingURL=render-context.d.ts.map