export declare const PARHELIA_PARENT_BRIDGE_PATH = "/parhelia/editor-bridge/v1/parhelia-bridge.js";
export type ParentBridgeInjectionStatus = "injected" | "already-runtime" | "already-script" | "not-parhelia" | "inaccessible" | "origin-mismatch" | "about-blank" | "waiting-for-markers" | "no-editable-markers" | "error";
export type ParentBridgeInjectionLoadStatus = "pending" | "loaded" | "error" | "timeout" | "runtime-detected";
export type ParentBridgeInjectionAttempt = {
    status: ParentBridgeInjectionStatus;
    finalUrl?: string;
    scriptUrl?: string;
    loadStatus?: ParentBridgeInjectionLoadStatus;
    message?: string;
};
export type ParentBridgeInjectionOptions = {
    parentOrigin?: string;
    bridgePath?: string;
    markerWaitMs?: number;
    scriptWatchdogMs?: number;
    onUpdate?: (attempt: ParentBridgeInjectionAttempt) => void;
};
export type ParentBridgeInjectionHandle = {
    readonly attempt: ParentBridgeInjectionAttempt;
    dispose: () => void;
};
export declare function injectParheliaBridgeFromParent(iframe: HTMLIFrameElement, options?: ParentBridgeInjectionOptions): ParentBridgeInjectionHandle;
export declare function formatParentBridgeInjectionDiagnostic(attempt: ParentBridgeInjectionAttempt | null | undefined): string | undefined;
