export interface RewritableIdents { /** whether ids should be rewritten. */ id: boolean; /** whether class names should be rewritten. */ class: boolean; /** * idents that are in use and should not be generated despite not being * found in any analysis or stylesheet. */ omitIdents?: { id?: Array; class?: Array; }; } export declare type AnalyzedAttribute = string; export declare type AnalyzedTagname = string; export interface TemplateIntegrationOptions { rewriteIdents: RewritableIdents; /** * List of attributes in addition to the re-writable attributes of `id` * and/or `class` that are analyzed and known to the rewriter. These * attributes aren't rewritten (at this time), but their analysis may allow * selectors targeting them to be merged into otherwise shared class names. */ analyzedAttributes: Array; /** * Whether the rewriter generally knows what tags styled attributes will * belong to. Setting this to false will prevent rules with element selectors * from being optimized if that optimization requires knowing the element's tag. */ analyzedTagnames: boolean; } export interface NormalizedRewriteOptions { id: boolean; class: boolean; omitIdents: { id: Array; class: Array; }; } export declare function normalizeTemplateOptions(templateOptions: Partial): TemplateIntegrationOptions; export declare function rewriteOptions(appOptions: boolean | RewritableIdents, templateOptions: RewritableIdents): NormalizedRewriteOptions; //# sourceMappingURL=TemplateIntegrationOptions.d.ts.map