import type { BuildConfig } from '../../types/build';
import { type PageIslandUsage } from './sourceMetadata';
export type PageIslandMetadata = {
    islands: PageIslandUsage[];
    pagePath: string;
};
declare global {
    var __absolutePageIslandMetadata: Map<string, PageIslandMetadata> | undefined;
}
export declare const getCurrentPageIslandMetadata: () => Map<string, PageIslandMetadata>;
export declare const getPagesUsingIslandSource: (sourcePath: string) => string[];
export declare const loadPageIslandMetadata: (config: BuildConfig) => Promise<Map<string, PageIslandMetadata>>;
export declare const setCurrentPageIslandMetadata: (metadata: Map<string, PageIslandMetadata>) => void;
