/** * Piscina worker handler for parallel fontTracer execution. * * Receives: { htmlText, stylesheetsWithPredicates } * Returns: Array<{ text, props }> * * Re-parses HTML with jsdom inside the worker since DOM objects * cannot be transferred via structured clone. */ interface SerializedStylesheet { text: string; predicates: Record; } interface TraceTask { htmlText: string; stylesheetsWithPredicates: SerializedStylesheet[]; } interface TextByPropsEntry { text: string; props: Record; } declare function trace(task: TraceTask): TextByPropsEntry[]; export = trace; //# sourceMappingURL=fontTracerWorker.d.ts.map