import type { RichContent } from 'ricos-schema'; import type { Overwrite } from 'utility-types'; import type { ContentBuilder } from '../types'; export type PartialBy = Omit & Partial>; export type OriginalAddImageParams = Parameters[0]; export interface ImageElement { src: string; alt?: string; } export type AddImageParams = Omit, 'content'>; export type ContentBuilderAdapterOld = { [key in keyof ContentBuilder]: (param?: Omit[0], 'content'>) => ContentBuilderAdapterOld; } & { addImage: (params: AddImageParams) => ContentBuilderAdapterOld; get: () => RichContent; }; export type CreateBuilderOld = (content: RichContent, callback?: (content: RichContent) => void) => ContentBuilderAdapterOld; //# sourceMappingURL=types.d.ts.map