/** * Builds a CSS id selector from an element's id value. * * The id is escaped per the `CSS.escape` algorithm so values that are not * valid CSS identifiers on their own (most notably ids beginning with a * digit, as produced by UUID-prefixed ids) still yield a usable selector. * The escape is implemented locally rather than via the `CSS` browser * global so views that build selectors also render under Node. */ export declare const idSelector: (id: string) => string; /** * Builds a CSS attribute selector matching `attribute` against `value`. * * The value is quoted and escaped per the `CSS.escape` algorithm, so values * carrying brackets, backslashes, spaces, or a leading digit still yield a * usable selector. The quotes are load bearing: an escaped value is a valid * CSS identifier but not a valid unquoted attribute value, so dropping them * makes selectors for digit-leading ids fail to parse. The escape is the * same local implementation `idSelector` uses, so attribute selectors also * build under Node during server rendering. */ export declare const attributeSelector: (attribute: string, value: string) => string; //# sourceMappingURL=selectors.d.ts.map