/** * Collect all CSS generated by executing one or more loader functions. * * This is a low-level primitive intended for build tools (Vite, Next.js, etc.) * to implement a zero-runtime extraction step. * * Example usage (Vite/Node): * * ```ts * import { collectStylesFromModules } from 'typestyles/build'; * * const css = await collectStylesFromModules([ * () => import('./src/styles'), * () => import('./src/tokens'), * ]); * ``` */ declare function collectStylesFromModules(loaders: Array<() => unknown | Promise>): Promise; export { collectStylesFromModules };