/** Descriptors and runtime hooks exposed to user-authored extensions. */
export declare const RuntimeExtensionVisibility: {
    readonly Internal: "internal";
    readonly Visible: "visible";
};
export type RuntimeExtensionVisibility = (typeof RuntimeExtensionVisibility)[keyof typeof RuntimeExtensionVisibility];
export interface RuntimeExtensionDescriptor {
    path: string;
    resolvedPath: string;
    visibility: RuntimeExtensionVisibility;
}
export interface RuntimeExtensionRuntime {
    appendEntry<T = unknown>(customType: string, data?: T): void;
    refreshTools(): void;
}
export interface RuntimeExtensionsResult {
    extensions: RuntimeExtensionDescriptor[];
    errors: Array<{
        path?: string;
        error: string;
    }>;
    runtime: RuntimeExtensionRuntime;
}
export declare function createRuntimeExtensionRuntime(): RuntimeExtensionRuntime;
//# sourceMappingURL=extension-runtime.d.ts.map