interface RewriteCodeOptions {
    wrapExpression?: boolean;
}
export declare function hasTopLevelVariant(candidate: string): boolean;
export declare function shouldEnableComponentLocalStyle(id: string): boolean;
export declare function shouldEnablePageLocalStyle(id: string): boolean;
export declare class UniAppXComponentLocalStyleCollector {
    private readonly fileId;
    private readonly runtimeSet?;
    private aliasByUtility;
    private aliasByLookup;
    constructor(fileId: string, runtimeSet?: Set<string> | undefined);
    private ensureAlias;
    private rewriteLiteral;
    collectAndRewriteStaticClass(literal: string): string;
    collectRuntimeClasses(rawSource: string, options?: RewriteCodeOptions): void;
    rewriteTransformedCode(rawSource: string, options?: RewriteCodeOptions): string;
    hasStyles(): boolean;
    toStyleBlock(): string;
}
export {};
