import type { BunPlugin } from 'bun'; import type { PostCSSConfig, StylePreprocessorConfig } from '../../types/build'; export declare const isPreprocessableStylePath: (filePath: string) => boolean; export declare const isStyleModulePath: (filePath: string) => boolean; export declare const isStylePath: (filePath: string) => boolean; export declare const getStyleBaseName: (filePath: string) => string; export declare const createStyleTransformConfig: (stylePreprocessors?: StylePreprocessorConfig, postcss?: PostCSSConfig) => StylePreprocessorConfig | undefined; export declare const addStyleImporter: (importerPath: string, stylePath: string) => void; export declare const findStyleEntriesImporting: (changedPath: string) => string[]; export declare const recordStyleOutput: (entry: string, css: string) => boolean; export declare const forgetStyleEntry: (entry: string) => void; export declare const compileStyleSource: (filePath: string, source?: string, languageHint?: string, config?: StylePreprocessorConfig) => Promise; export declare const createStylePreprocessorPlugin: (config?: StylePreprocessorConfig) => BunPlugin; export declare const stylePreprocessorPlugin: BunPlugin; export declare const createSvelteStylePreprocessor: (config?: StylePreprocessorConfig) => { style: ({ attributes, content, filename }: { attributes: Record; content: string; filename?: string; }) => Promise<{ code: string; } | undefined>; }; export declare const compileStyleFileIfNeeded: (filePath: string, config?: StylePreprocessorConfig) => Promise; export declare const compileStyleFileIfNeededSync: (filePath: string, config?: StylePreprocessorConfig) => string; export declare const getCssOutputExtension: (filePath: string) => string;