/** * Component Default Resolution System * Provides theme-based default configurations for components */ import { ThemeConfig, ComponentDefaults, HeadingComponentDefaults, ParagraphComponentDefaults, ImageComponentDefaults, StatisticComponentDefaults, TableComponentDefaults, SectionComponentDefaults, ColumnsComponentDefaults, ListComponentDefaults } from '../index'; import { HeadingProps, ParagraphProps, ImageProps, StatisticProps, TableProps, SectionProps, ColumnsProps, ListProps } from '../../types'; /** * Get component defaults from theme configuration */ export declare function getComponentDefaults(theme: ThemeConfig): ComponentDefaults; /** * Get default configuration for heading components */ export declare function getHeadingDefaults(theme: ThemeConfig): HeadingComponentDefaults; /** * Get level-specific heading defaults from theme styles */ export declare function getHeadingDefaultsForLevel(theme: ThemeConfig, level: number): Partial; /** * Get default configuration for text components */ export declare function getTextDefaults(theme: ThemeConfig): ParagraphComponentDefaults; /** * Get default configuration for image components */ export declare function getImageDefaults(theme: ThemeConfig): ImageComponentDefaults; /** * Get default configuration for statistic components */ export declare function getStatisticDefaults(theme: ThemeConfig): StatisticComponentDefaults; /** * Get default configuration for table components */ export declare function getTableDefaults(theme: ThemeConfig): TableComponentDefaults; /** * Get default configuration for section components */ export declare function getSectionDefaults(theme: ThemeConfig): SectionComponentDefaults; /** * Get default configuration for columns components */ export declare function getColumnsDefaults(theme: ThemeConfig): ColumnsComponentDefaults; /** * Get default configuration for list components */ export declare function getListDefaults(theme: ThemeConfig): ListComponentDefaults; export { mergeWithDefaults } from '@json-to-office/shared'; /** * Resolve heading component props with theme defaults */ export declare function resolveHeadingProps(props: HeadingProps, theme: ThemeConfig): HeadingProps; /** * Resolve paragraph component props with theme defaults */ export declare function resolveParagraphProps(props: ParagraphProps, theme: ThemeConfig): ParagraphProps; /** * Resolve image component props with theme defaults */ export declare function resolveImageProps(props: ImageProps, theme: ThemeConfig): ImageProps; /** * Resolve statistic component props with theme defaults */ export declare function resolveStatisticProps(props: StatisticProps, theme: ThemeConfig): StatisticProps; /** * Resolve table component props with theme defaults */ export declare function resolveTableProps(props: TableProps, theme: ThemeConfig): TableProps; /** * Resolve section component props with theme defaults */ export declare function resolveSectionProps(props: SectionProps, theme: ThemeConfig): SectionProps; /** * Resolve columns component props with theme defaults */ export declare function resolveColumnsProps(props: ColumnsProps, theme: ThemeConfig): ColumnsProps; /** * Resolve list component props with theme defaults */ export declare function resolveListProps(props: ListProps, theme: ThemeConfig): ListProps; /** * Resolve highcharts component props with theme defaults */ export declare function resolveHighchartsProps(props: import('@json-to-office/shared-docx').HighchartsProps, _theme: ThemeConfig): import('@json-to-office/shared-docx').HighchartsProps; /** * Resolve visual component props with theme defaults. * The visual is rasterized by the pptx engine, so there are no docx-side theme * defaults to apply — return props as-is (mirrors highcharts). */ export declare function resolveVisualProps(props: import('@json-to-office/shared-docx').VisualProps, _theme: ThemeConfig): import('@json-to-office/shared-docx').VisualProps; /** * Get default configuration for custom components */ export declare function getCustomComponentDefaults(theme: ThemeConfig, componentName: string): Record; /** * Resolve custom component props with theme defaults */ export declare function resolveCustomComponentProps>(props: T, theme: ThemeConfig, componentName: string): T; //# sourceMappingURL=componentDefaults.d.ts.map