import { DcController } from "../DcController.js"; /** * Sets a camera reset button that is displayed when the camera has been panned. * The button is rendered inside the engine iframe for proper positioning and cross-origin support. * * @param dcController The DcController object obtained from the init function. * @param render A render function that renders the reset button into the given container. * The function receives a container div and a reset callback. * May return a cleanup function that will be called when hiding the button. * * @example * ```typescript * import { createRoot } from 'react-dom/client'; * * setCameraResetButton(dcController, (container, reset) => { * const root = createRoot(container); * root.render(); * return () => root.unmount(); * }); * ``` */ export declare function setCameraResetButton(dcController: DcController, render: (container: HTMLDivElement, reset: () => void) => void | (() => void)): void;