import type { StyleDeclarationIdentity, StyleSourceTraces } from './styleSourceTrace.js'; export interface StyleReferenceDeclaration extends StyleDeclarationIdentity { references: StyleDeclarationIdentity[]; } export interface CapturedStyleReference { property: string; declaration: StyleReferenceDeclaration; /** Each path stops at a source cycle or an uninstrumented variable. Catalog selection happens later. */ paths: StyleDeclarationIdentity[][]; } /** Retain source expressions as well as projected paints; unsupported canvas effects keep their code connections. */ export declare function readStyleReferences(style: CSSStyleDeclaration, element?: Element, traces?: StyleSourceTraces): CapturedStyleReference[]; /** Generated decorations have no DOM child; retain their code operands on the owning layer. */ export declare function readPseudoStyleReferences(element: Element): CapturedStyleReference[]; /** Audit raw DOM variable inputs independently of the provenance markers they should carry. */ export declare function unprovenInlineTokenReferences(style: CSSStyleDeclaration, element: Element, tokenNames: ReadonlySet): { property: string; name: string; }[];