import type { RefObject } from 'react'; import type { IGWHandlerInsider } from '../interfaces'; import type { NativeRendererHandle } from './nativeTypes'; /** * Gives the host's `exportChart` and `exportChartList` to the native renderer while it draws. * The Vega renderer installs its own on mount and removes them on unmount; this does the same, * so whichever renderer is on screen answers. A native chart is one image, reported as a * single cell. Returns the function that takes them out again. */ export declare function installNativeExport(ctx: IGWHandlerInsider, source: { handle: RefObject; container: RefObject; title: string; }): () => void;