@stacksjs/stx
Version:
A performant UI Framework. Powered by Bun.
26 lines • 824 B
TypeScript
import type { BackgroundPreset, ResolvedStoryConfig, ResponsivePreset, StoryConfig, StoryTreeConfig, } from './types';
/**
* Resolve story configuration with defaults
*/
export declare function resolveStoryConfig(config?: StoryConfig): ResolvedStoryConfig;
/**
* Get the default story configuration
* Useful for extending defaults in user config
*/
export declare function getDefaultStoryConfig(): StoryConfig;
/**
* Default responsive presets
*/
export declare const defaultResponsivePresets: ResponsivePreset[];
/**
* Default background presets
*/
export declare const defaultBackgroundPresets: BackgroundPreset[];
/**
* Default tree configuration
*/
export declare const defaultTreeConfig: Required<StoryTreeConfig>;
/**
* Default story configuration
*/
export declare const defaultStoryConfig: StoryConfig;