import { ReactNode } from 'react'; import { IconProps } from '../Icon/index.js'; import { useBasedEndpoints } from '../../providers/Endpoints/index.js'; import { ContentEditorProps } from '../ContentEditor/index.js'; export declare const Editor: React.FC<{ schemaType?: string; id?: number; section?: string; counter?: number; include?: string[]; exclude?: string[]; icon?: IconProps['variant']; leadButton?: ReactNode; trailButton?: ReactNode; customEndpoints?: Partial>; showOpenPreview?: boolean; changedFields?: (x: boolean) => void; onSubmit?: ContentEditorProps['onSubmit']; onChange?: ContentEditorProps['onSubmit']; preview?: (props: Omit[0], 'preview'>) => ReactNode; banner?: (props: any) => ReactNode; transformFields?: ContentEditorProps['transformFields']; }>;