import { VisualEditingOptions } from "@sanity/visual-editing/react";
/**
* @public
*/
interface VisualEditingProps extends Omit<VisualEditingOptions, "history"> {
  /**
  * @deprecated The histoy adapter is already implemented
  */
  history?: never;
  /**
  * If next.config.ts is configured with a basePath we try to configure it automatically,
  * you can disable this by setting basePath to ''.
  * @example basePath="/my-custom-base-path"
  * @alpha experimental and may change without notice
  * @defaultValue process.env.__NEXT_ROUTER_BASEPATH || ''
  */
  basePath?: string;
  /**
  * If next.config.ts is configured with a `trailingSlash` we try to detect it automatically,
  * it can be controlled manually by passing a boolean.
  * @example trailingSlash={true}
  * @alpha experimental and may change without notice
  * @defaultValue Boolean(process.env.__NEXT_TRAILING_SLASH)
  */
  trailingSlash?: boolean;
}
declare const VisualEditing: React.ComponentType<VisualEditingProps>;
export { VisualEditing, type VisualEditingProps };
//# sourceMappingURL=index.d.ts.map