// Generated by dts-bundle-generator v9.5.1 import { TEnhancer, TPlugin } from 'fela'; import { AnyFunc, AnyObject } from 'pepka'; export declare const rollupCSSCompression: () => { name: string; transform(code: string): Promise<{ code: string; map: any; }>; }; export declare const css: (strings: (string[] | TemplateStringsArray), ...values: any[]) => any; export declare const __specialcss: (strings: (string[] | TemplateStringsArray), ...values: any[]) => any; export declare const setCompression: (to: boolean) => boolean; export type ModifierCondition = (className: string, context: AnyObject) => boolean; export interface Modifiers { [name: string]: ModifierCondition; } export interface Options { method: string; defStyles: ((vm: AnyObject) => AnyObject) | { key: string; value: ((vm?: AnyObject) => AnyObject); }; modifiers: { [name: string]: ModifierCondition; }; preset: { unit: [ string, AnyObject ] | [ ]; }; plugins: TPlugin[]; enhancers: TEnhancer[]; ssr: boolean; classNames: boolean; } export type RenderClasses = (base: AnyObject | string | null, propsOrRule?: any, props?: AnyObject, modifiers?: Modifiers) => string; export declare class Renderer { private renderer; private _mixin; private renderClasses; /** Vue Composition API endpoint. */ styl: (stylesheet: AnyObject, modifiers?: Modifiers) => RenderClasses; /** @returns Vue Options API mixin. */ get mixin(): AnyObject; /** @returns Entire css for SSR proposes. */ get style(): string; /** Sets classes to DOM elements what match. Just like CSS. */ setClasses: (this: Renderer, sheet: AnyObject, root?: NodeList) => void; constructor(opts?: Partial); } export declare class SvelteRenderer extends Renderer { private f; private fdef; getCSS(): (rules: AnyObject) => (className: string | AnyObject | AnyFunc, attrs?: AnyObject) => any; getLiteralCSS(): (...template: [ string[] ]) => (className: string | AnyObject | AnyFunc, attrs?: AnyObject) => any; constructor(opts?: Partial); } export {};