import { LoaderContext } from "webpack";
import { YakConfigOptions } from "../withYak/index.js";

//#region loaders/turbo-loader.d.ts
/**
 * This loader transforms styled-components styles to a static data-url import
 * The compile-time nexy-yak transformation takes javascript/typescript as input,
 * strips all inline css code and adds the css as static css urls
 * e.g.: `import "data:text/css;base64,"`
 */
declare function cssExtractLoader(this: LoaderContext<{
  yakOptions: YakConfigOptions;
  yakPluginOptions: any;
}>, code: string, sourceMap: string | undefined): Promise<string | void>;
export = cssExtractLoader;
//# sourceMappingURL=turbo-loader.d.cts.map