import { type SimpleSliceContent } from "@prismicio/types-internal/lib/content"; import type { LegacySlice } from "@prismicio/types-internal/lib/customtypes"; import type { ReactNode } from "react"; interface LegacySliceEditorProps { content: SimpleSliceContent; id: string; legacySlice: LegacySlice; onContentChange: (content: SimpleSliceContent) => void; readOnly: boolean; sliceKey?: string; header?: ReactNode; } export declare function LegacySliceEditor(props: LegacySliceEditorProps): JSX.Element; export {};