import type { IslandLoader } from "./contract.js"; export interface IslandLifecycleStartInput { getRoot(): HTMLElement | null; islandMap: Map; onActivate(tagName: string, el: HTMLElement, loader: () => Promise): void; isPending(tagName: string): boolean; onDiscover?(tagName: string, el: HTMLElement): void; onBeforeInitialWalk?: () => void; onInitialWalkComplete?: () => void; } export interface IslandLifecycle { excludeRoot(root: HTMLElement): void; includeRoot(root: HTMLElement): void; isObserved(el: Element): boolean; readonly initialWalkComplete: boolean; watchCancellable(el: Element, cancel: () => void): () => void; resumeBlocked(tagName: string): void; walk(root: HTMLElement): void; start(input: IslandLifecycleStartInput): { disconnect: () => void; }; } export declare function createIslandLifecycleCoordinator(): IslandLifecycle;