export interface StaticStyleObjectEntry { cssName: string; valueCode: string; } export declare function isUrlAttribute(name: string): boolean; export declare function isDangerousHtmlAttribute(name: string): boolean; export declare function isVoidHtmlElement(tagName: string): boolean; export declare function isStaticUrlValueUnsafe(name: string, value: string): boolean; export declare function parseStyleLiteralValue(code: string): string | number | null | undefined; export declare function parseStaticStyleObjectLiteral(code: string): StaticStyleObjectEntry[] | undefined; export declare function simpleSideEffectFreeExpression(code: string): string | undefined; export declare function htmlAttributeName(name: string): string; /** * Resolves the HTML attribute name one JSX prop name produces on one element. * * `input` is the only element where the name depends on the tag: React seeds an * input through `defaultValue` and `defaultChecked`, which are the `value` and * `checked` attributes in HTML. Every emitter has to agree on this, because the * client template and the server markup are compared attribute by attribute * during hydration. */ export declare function htmlAttributeNameForElement(tagName: string, name: string): string; export declare function isBooleanishStringAttribute(name: string): boolean; export interface OptionSelectedLocalNames { selected: string; optionValue: string; boundOptionValue: string; textValue: string; textParts: string; textBody: string; textHasValue: string; selectValue: string; selectValueAttribute: string; selectDefaultValue: string; selectMultiple: string; attributes: string; index: string; candidate: string; } /** * Combines a `` that declares a selection. * * Shared by the string and the stream server emitters so both agree on value * normalization (`String()` comparison, so `2` matches `"2"`), on array values * (`