export declare const withAutoScope: (worker: () => T) => T; export declare const withoutValidation: (worker: () => T) => T; /** * A simple CSS-in-JS implementation that generates unique class names for * styles and applies them to the document. This implementation is intended * for use in a browser context. */ /** Cache for generated styles, useful if you want to extract elsewhere. */ export declare const styleCache: Map; /** * Generate a unique class name from the given CSS styles (a hash of the styles) * and replace all instances of `:host` with the generated class name. If used * in a browser context, the styles will be applied to the document. All styles * are cached (see styleCache), so the styles will only be applied once. If you * omit the `:host` selector, it will be added around the styles automatically. * @returns Generated class name */ export declare function css(styles: TemplateStringsArray, ...expressions: any[]): string; type Truthy = string | number | boolean | null | undefined; type ClassValue = string | Record | undefined | null | false; /** * Accumulate class names from the given arguments. If an argument is an object, * it will be treated as a map of class names to boolean values, where only the * keys with truthy values will be included. */ export declare function classNames(...classes: ClassValue[]): string; export declare function applyStyles(className: string, styles: string): void; export declare function applyStylesToDOM(styles: string): boolean; export {};