import type { RumConfiguration } from '@openobserve/browser-rum-core'; import type { SerializedNodeWithId } from '../../../types'; import type { SerializationContext } from './serialization.types'; import type { SerializationScope } from './serializationScope'; export declare function serializeDocument(document: Document, configuration: RumConfiguration, scope: SerializationScope, serializationContext: SerializationContext): SerializedNodeWithId;