import type { StylesheetLoader } from './utils/sync-stylesheet.js'; export type NuiComponentTag = `nui-${string}`; export type NuiStyleOverride = CSSStyleSheet | StylesheetLoader; export type NuiStylesMap = Partial>; /** * Register custom component styles from CSS file paths or loaders. * * Call before importing components. Paths are resolved against `base` * (defaults to `document.baseURI`). For files in `src/`, pass * `import.meta.url` from your app entry as the second argument. * * @example * nucleifyStyles({ * 'nui-button': './styles/nui-button.css', * }, import.meta.url); * * @example * nucleifyStyles({ * 'nui-button': '/styles/nui-button.css', * }); */ export declare function nucleifyStyles(styles: NuiStylesMap, base?: string | URL): void; /** Bind path resolution to a module URL (usually `import.meta.url` from your config file). */ export declare function createNucleifyStyles(base: string | URL): (styles: NuiStylesMap) => void; export declare function getComponentStyleOverride(tag: string): NuiStyleOverride | undefined; //# sourceMappingURL=config.d.ts.map