import { LoaderContext } from 'webpack';
import { YakConfigOptions } from '../withYak/index.ts';

/**
 * Transform typescript to css
 *
 * This loader takes the cached result from the yak tsloader
 * and extracts the css from the generated comments
 */
declare function cssExtractLoader(this: LoaderContext<YakConfigOptions>, _code: string, sourceMap: string | undefined): Promise<string | void>;

export { cssExtractLoader as default };
