import type { EnvironmentProviders, Provider, Type } from '@angular/core';
import type { AngularDeps, CachedRouteData, SsrDepsResult } from '../../types/angular';
export declare const cacheRouteData: (pagePath: string, data: CachedRouteData) => void;
export declare const getCachedRouteData: (pagePath: string) => CachedRouteData | undefined;
export declare const buildDeps: (ssrResult: SsrDepsResult | null, baseDeps: AngularDeps) => AngularDeps;
export declare const buildProviders: (deps: AngularDeps, sanitizer: InstanceType<AngularDeps["DomSanitizer"]>, maybeProps: Record<string, unknown> | undefined, tokenMap: Map<string, unknown>) => (Provider | EnvironmentProviders | {
    provide: unknown;
    useValue: unknown;
})[];
export declare const clearSelectorCache: () => void;
export declare const discoverTokens: (pageModule: Record<string, unknown>) => Map<string, unknown>;
export declare const loadSsrDeps: (pagePath: string) => Promise<SsrDepsResult | null>;
export declare const resolveSelector: (deps: AngularDeps, pagePath: string, PageComponent: Type<unknown>) => string;
export declare const injectSsrScripts: (html: string, requestId: string, indexPath: string, props?: Record<string, unknown>) => string;
export declare const renderAngularApp: (deps: AngularDeps, PageComponent: Type<unknown>, providers: (Provider | EnvironmentProviders)[], document: string | Document) => Promise<string>;
export declare const withSuppressedAngularDevLogs: <T>(render: () => Promise<T>) => Promise<T>;
