import { PageOverrides } from './env'; export declare function getOverridesByPathname(pathname: string): PageOverrides | undefined; export declare function getCurrentOverrides(): PageOverrides | undefined; export declare function setCurrentPathname(pathname: string): void; export declare function rehydrateOverridesForPathname(pathname: string): void; export interface OverrideLoadOptions { cache?: boolean; } export declare function loadOverridesForPathname(pathname: string, options: OverrideLoadOptions): Promise; export interface APIResponseBody { success: boolean; errors: string[]; result: T | null; } export declare function preloadOverridesForPathname(pathname: string, { cache }: OverrideLoadOptions): Promise; declare type PromiseSettledResult = { status: 'fulfilled'; value: unknown; } | { status: 'rejected'; reason: unknown; }; declare type PromiseSettledResults = [PromiseSettledResult, PromiseSettledResult]; export declare function _outsmartly_two_promises_settled(a: Promise, b: Promise): Promise; export {};