import GlobalRecord from './GlobalRecord'; import type Page from '../Page'; import type { NuiComponent } from '../../types'; export interface GlobalComponentMapOptions { component: NuiComponent.Instance; id?: string; node?: HTMLElement | null; page: Page; } declare class GlobalComponentRecord extends GlobalRecord<'component'> { #private; componentId: string; nodeId: string | undefined; pageId: string; pageName: string; constructor({ id, component, node, page }: GlobalComponentMapOptions); get globalId(): string; toJSON(): { globalId: string; componentId: string; nodeId: string | undefined; pageId: string; }; } export default GlobalComponentRecord;