first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { IStyle } from './IStyle';
import { Stylesheet } from './Stylesheet';
import { IStyleOptions } from './IStyleOptions';
import { ShadowConfig } from './shadowConfig';
export declare function serializeRuleEntries(options: IStyleOptions, ruleEntries: {
[key: string]: string | number;
}): string;
export interface IRegistration {
className: string;
key: string;
args: IStyle[];
rulesToInsert: string[];
}
export declare function styleToRegistration(options: IStyleOptions, ...args: IStyle[]): IRegistration | undefined;
/**
* Insert style to stylesheet.
* @param registration Style registration.
* @param specificityMultiplier Number of times classname selector is repeated in the css rule.
* This is to increase css specificity in case it's needed. Default to 1.
*/
export declare function applyRegistration(registration: IRegistration, specificityMultiplier?: number, shadowConfig?: ShadowConfig, sheet?: Stylesheet): void;
export declare function styleToClassName(options: IStyleOptions, ...args: IStyle[]): string;