import type { ResolvedConfig } from 'vite';
interface HarmonyApplyHookContext {
    addWatchFile?: (id: string) => void;
}
interface CreateUniAppXHarmonyApplyExpanderOptions {
    generateCss?: ((id: string, code: string, hookContext?: HarmonyApplyHookContext & {
        transient?: boolean;
    }) => Promise<string | undefined> | string | undefined) | undefined;
    getResolvedConfig: () => ResolvedConfig | undefined;
    isHarmonyBuildTarget: () => boolean;
    transformCss: (css: string, id: string) => Promise<string>;
}
export declare function createUniAppXHarmonyApplyExpander(options: CreateUniAppXHarmonyApplyExpanderOptions): {
    expandStyles: (code: string, id: string, hookContext: HarmonyApplyHookContext) => Promise<string>;
    rememberSource: (code: string, id: string) => void;
    styleSources: Set<string>;
    utilities: Set<string>;
};
export {};
