import { Feature } from '../types/Feature'; import { URL } from 'oak-domain/lib/utils/url'; export declare class Navigator extends Feature { private _namespacePath; private readonly base; private running; private deprecatedNamespaceWarningShown; constructor(); private warnDeprecatedNamespaceApi; get namespace(): string; set namespace(namespacePath: string); get namespacePath(): string; set namespacePath(namespacePath: string); setNamespacePath(namespacePath: string): void; setNamespace(namespace: string): void; protected enter(): boolean; protected leave(): void; getNamespacePath(): string; getNamespace(): string; urlParse(path: string): URL; urlFormat(url: URL): string; constructState(pathname: string, state?: Record, search?: string): { pathname: string; oakFrom: string | undefined; }; constructSearch(search?: string | null, state?: Record): string; private resolvePathname; constructUrl(url: string, state?: Record, disableNamespace?: boolean): string; constructNamespace(url: string, namespace?: string): string; getPathname(pathname: string, namespace?: string): string; protected createLocationUrl(pathname: string): string; protected createNavigateState(pathname: string, state?: Record, extra?: Record): Record; protected executeNavigation(action: () => Promise | T, publish?: boolean): Promise | T | undefined; }