import { componentInterface } from '../factory'; import { optionsInterface } from '../options'; import type { ThumbmarkError } from '../functions'; import type { ObservationsCollection } from './observations'; /** * Logs thumbmark data to remote logging endpoint (only once per session) * You can disable this by setting options.logging to false. * Options are sent without credentials or customer metadata (api_key, metadata). * * The experimental payload is fetched here rather than by the caller because * this is its only consumer. That keeps it off getThumbmark's critical path — * this whole function is fire-and-forget, so the round-trip costs the caller * nothing. * * `observations`, when given, is added as a sibling of `components` (outside * the hash) from a snapshot taken when the log is built, so it can include keys * that resolved after the API request's snapshot. It never waits for a pending key. * @internal */ export declare function logThumbmarkData(thisHash: string, thumbmarkData: componentInterface, options: optionsInterface, errors?: ThumbmarkError[], observations?: Pick): Promise;