import { NavigationHistoryEntry as NavigationHistoryEntryPrototype, NavigationHistoryEntryEventMap, NavigationHistoryEntryInit as NavigationHistoryEntryInitPrototype, NavigationNavigationType } from "./spec/navigation"; import { NavigationEventTarget } from "./navigation-event-target"; import { EventTargetListeners } from "./event-target"; declare const NavigationGetState: unique symbol; export declare const NavigationHistoryEntryNavigationType: unique symbol; export declare const NavigationHistoryEntryKnownAs: unique symbol; export declare const NavigationHistoryEntrySetState: unique symbol; export interface NavigationHistoryEntryGetStateFn { (entry: NavigationHistoryEntry): S | undefined; } export interface NavigationHistoryEntryFn { (entry: NavigationHistoryEntry): void; } export interface NavigationHistoryEntrySerialized { key: string; navigationType?: string; url?: string; state?: S; sameDocument?: boolean; } export interface NavigationHistoryEntryInit extends NavigationHistoryEntryInitPrototype { navigationType: NavigationNavigationType; getState?: NavigationHistoryEntryGetStateFn; [NavigationHistoryEntryKnownAs]?: Set; } export declare class NavigationHistoryEntry extends NavigationEventTarget implements NavigationHistoryEntryPrototype { #private; get index(): number; readonly key: string; readonly id: string; readonly url?: string; readonly sameDocument: boolean; get [NavigationHistoryEntryNavigationType](): NavigationNavigationType; get [NavigationHistoryEntryKnownAs](): Set; get [EventTargetListeners](): import("./event-target").EventDescriptor[]; constructor(init: NavigationHistoryEntryInit); [NavigationGetState](): S; getState(): ST; getState(): S; [NavigationHistoryEntrySetState](state: S): void; } export {};