import ApiReferenceEditor from './components/ApiReferenceEditor.vue.js'; import type { ApiReferenceConfiguration } from '@scalar/types/api-reference'; /** Attach the Editable API Reference to the DOM */ export declare function mountApiReferenceEditable( /** Element to mount the references to */ elementOrSelector: string | HTMLElement | null, /** Base configuration */ configuration?: Partial & { useExternalState?: boolean; }, /** Optional event handler to trigger when the editor input changes */ onUpdate?: (v: string) => void): { /** Attach the ApiReferenceEditor to a given DOM node */ mount: (el: string | HTMLElement) => void; /** Update the complete config (replaces original config) */ updateConfig: (newConfig: ApiReferenceConfiguration) => void; /** Update only the spec value - used for external state mode */ updateSpecValue: (specString: string) => void; }; export { ApiReferenceEditor }; //# sourceMappingURL=api-reference-editor.d.ts.map