export declare const CURRENT_SITE_CLOUD_ID_STORAGE_ITEM_KEY_PREFIX = "site-cloud-id:v1:";
export declare const CURRENT_SITE_CLOUD_ID_TTL_MS: number;
/** Keys written by this service in localStorage when using {@link smartCardStorage}. */
export declare const getCurrentSiteCloudIdLocalStorageKey: (baseUriWithNoTrailingSlash?: string) => string;
/** Backwards-compatible default-scope key for existing tests and external assertions. */
export declare const CURRENT_SITE_CLOUD_ID_LOCAL_STORAGE_KEY: string;
export declare class CurrentSiteCloudIdService {
    private tenantInfoInflightPromises;
    private readStoredCloudId;
    private writeStoredCloudId;
    private ensureTenantInfoInflightStarted;
    /** Pure synchronous read scoped to the given base URI. */
    getStoredCloudId(baseUriWithNoTrailingSlash?: string): string | undefined;
    /** Writes tenant cloud id for tests or callers that intentionally warm storage before edge resolves. */
    persistStoredCloudId(cloudId: string, baseUriWithNoTrailingSlash?: string): void;
    get(baseUriWithNoTrailingSlash?: string): Promise<string | undefined>;
    /** Clears session pin and persisted storage so the next {@link get} is a fresh tenant_info fetch. */
    clearCache(): void;
}
export declare const currentSiteCloudIdService: CurrentSiteCloudIdService;
export declare function getCurrentSiteCloudIdSync(baseUriWithNoTrailingSlash?: string): string | undefined;
export declare const getCurrentSiteCloudId: (baseUriWithNoTrailingSlash?: string) => Promise<string | undefined>;
